Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009194/0.0009194, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007418/0.0007418, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8438/0.8438, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001374/0.001374, allocations: 226.2 kB / 260.2 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6608/0.6608, allocations: 138.4 MB / 455.1 MB, free: 29.98 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.6475 GB, free: 1.41 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.833e-05/3.038e-05, allocations: 5.094 kB / 0.6475 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.2475/0.2476, allocations: 4.738 MB / 0.6521 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.1168/0.3644, allocations: 132.8 MB / 0.7818 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009299/0.3653, allocations: 23.81 kB / 0.7818 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005557/0.3659, allocations: 210 kB / 0.782 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001658/0.3675, allocations: 0.5983 MB / 0.7826 GB, free: 456 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.3693, allocations: 0.8842 MB / 0.7835 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001371/0.3707, allocations: 1.508 MB / 0.7849 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006395/0.3713, allocations: 415.1 kB / 0.7853 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008758/0.3722, allocations: 0.7601 MB / 0.7861 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004918/0.3727, allocations: 422.8 kB / 0.7865 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.3728, allocations: 124 kB / 0.7866 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008598/0.3737, allocations: 0.4954 MB / 0.7871 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.3739, allocations: 314.9 kB / 0.7874 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003179/0.3742, allocations: 406.9 kB / 0.7878 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.376, allocations: 1.826 MB / 0.7896 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.376, allocations: 0 / 0.7896 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/0.376, allocations: 0 / 0.7896 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.058e-05/0.376, allocations: 0 / 0.7896 GB, free: 9.305 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001982/0.378, allocations: 1.471 MB / 0.791 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.378, allocations: 9.938 kB / 0.791 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007959/0.3788, allocations: 232 kB / 0.7912 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008757/0.3797, allocations: 0.7335 MB / 0.7919 GB, free: 6.805 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.3797, allocations: 74.11 kB / 0.792 GB, free: 6.734 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.454e-05/0.3798, allocations: 88 kB / 0.7921 GB, free: 6.648 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.381, allocations: 1.197 MB / 0.7933 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.381, allocations: 0.6562 kB / 0.7933 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/0.3811, allocations: 47.98 kB / 0.7933 GB, free: 5.301 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.3811, allocations: 23.98 kB / 0.7933 GB, free: 5.277 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.3822, allocations: 1.089 MB / 0.7944 GB, free: 4.188 MB / 0.6198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/0.3848, allocations: 2.182 MB / 0.7965 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.3858, allocations: 0.7993 MB / 0.7973 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/0.3862, allocations: 290.7 kB / 0.7976 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.649e-05/0.3862, allocations: 30.31 kB / 0.7976 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005972/0.3868, allocations: 0.6086 MB / 0.7982 GB, free: 196 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=85): time 2.204e-06/0.3868, allocations: 0 / 0.7982 GB, free: 196 kB / 0.6198 GB Notification: Performance of matching and sorting (n=85): time 0.001888/0.3887, allocations: 1.17 MB / 0.7994 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.3888, allocations: 192.9 kB / 0.7995 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005509/0.3893, allocations: 0.6176 MB / 0.8001 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.724e-05/0.3894, allocations: 45.7 kB / 0.8002 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.3896, allocations: 437 kB / 0.8006 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.3898, allocations: 289.5 kB / 0.8009 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.39, allocations: 174.5 kB / 0.801 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3901, allocations: 390.7 kB / 0.8014 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/0.3904, allocations: 273.9 kB / 0.8017 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004436/0.3909, allocations: 0.4996 MB / 0.8022 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007188/0.3916, allocations: 0.6281 MB / 0.8028 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.3916, allocations: 2.156 kB / 0.8028 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001178/0.3928, allocations: 0.8844 MB / 0.8036 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.3928, allocations: 4.719 kB / 0.8036 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3928, allocations: 4 kB / 0.8037 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003113/0.3931, allocations: 84.66 kB / 0.8037 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.3935, allocations: 179.8 kB / 0.8039 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.3948, allocations: 1.489 MB / 0.8054 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004048/0.3952, allocations: 91.53 kB / 0.8054 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-05/0.3953, allocations: 39.97 kB / 0.8055 GB, free: 8.492 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003836/0.3957, allocations: 279.6 kB / 0.8057 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.3958, allocations: 87.44 kB / 0.8058 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.3972, allocations: 1.091 MB / 0.8069 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.3972, allocations: 8 kB / 0.8069 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.3972, allocations: 0 / 0.8069 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.3972, allocations: 7.922 kB / 0.8069 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006802/0.3979, allocations: 0.6654 MB / 0.8076 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.3979, allocations: 0 / 0.8076 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.3982, allocations: 160.5 kB / 0.8077 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002204/0.3984, allocations: 72.78 kB / 0.8078 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/0.3985, allocations: 27.97 kB / 0.8078 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/0.3996, allocations: 1.532 MB / 0.8093 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3996, allocations: 0 / 0.8093 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.4012, allocations: 1.36 MB / 0.8106 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/0.4015, allocations: 203.1 kB / 0.8108 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.971e-05/0.4016, allocations: 19.94 kB / 0.8108 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.4019, allocations: 75.45 kB / 0.8109 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.402, allocations: 72.86 kB / 0.811 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-05/0.4021, allocations: 39.97 kB / 0.811 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003999/0.4025, allocations: 447 kB / 0.8115 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4025, allocations: 0 / 0.8115 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006958/0.4032, allocations: 355 kB / 0.8118 GB, free: 1.859 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001111/0.4043, allocations: 0.6632 MB / 0.8124 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.4054, allocations: 0.8233 MB / 0.8132 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4054, allocations: 0 / 0.8132 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005384/0.406, allocations: 0.5004 MB / 0.8137 GB, free: 100 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007505/0.4067, allocations: 316.9 kB / 0.814 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.4092, allocations: 1.86 MB / 0.8159 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.4095, allocations: 461.2 kB / 0.8163 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.4097, allocations: 116.4 kB / 0.8164 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of SimCode: time 1.793e-06/0.4097, allocations: 0 / 0.8164 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of Templates: time 0.01945/0.4292, allocations: 19.68 MB / 0.8356 GB, free: 9.699 MB / 0.6667 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.823434418067336] Failed to read output from testmodel.py, exit status != 0: 0.4361380860209465 0.44288585299999994 0.06527194900000001 Calling exit ...