Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001304/0.001304, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001488/0.001488, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.097/1.097, allocations: 177.1 MB / 203.8 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7993/0.7993, allocations: 154.6 MB / 414.9 MB, free: 0.6914 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0.7656 kB / 0.5203 GB, free: 2.582 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.148e-05/3.371e-05, allocations: 5.156 kB / 0.5203 GB, free: 2.578 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005921/0.005955, allocations: 5.089 MB / 0.5253 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1381/0.1441, allocations: 146.4 MB / 0.6682 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000849/0.1449, allocations: 27.81 kB / 0.6683 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005903/0.1455, allocations: 210 kB / 0.6685 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.1471, allocations: 0.6095 MB / 0.669 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.1487, allocations: 0.8646 MB / 0.6699 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001287/0.15, allocations: 1.513 MB / 0.6714 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005857/0.1506, allocations: 410.7 kB / 0.6718 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008135/0.1514, allocations: 0.7563 MB / 0.6725 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004138/0.1518, allocations: 422.7 kB / 0.6729 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.1519, allocations: 124 kB / 0.673 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008145/0.1528, allocations: 499.4 kB / 0.6735 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.153, allocations: 318.9 kB / 0.6738 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002946/0.1533, allocations: 410.9 kB / 0.6742 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.1547, allocations: 1.308 MB / 0.6755 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1547, allocations: 0 / 0.6755 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1547, allocations: 0 / 0.6755 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.1547, allocations: 0 / 0.6755 GB, free: 3.297 MB / 0.6355 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.001796/0.1565, allocations: 1.562 MB / 0.677 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.1566, allocations: 8.031 kB / 0.677 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009783/0.1576, allocations: 335.5 kB / 0.6773 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008363/0.1584, allocations: 0.7286 MB / 0.678 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.634e-05/0.1584, allocations: 74.06 kB / 0.6781 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.634e-05/0.1585, allocations: 91.98 kB / 0.6782 GB, free: 448 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2754/0.4339, allocations: 1.023 MB / 0.6792 GB, free: 202.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.13e-05/0.434, allocations: 2.906 kB / 0.6792 GB, free: 202.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.949e-05/0.4341, allocations: 34.47 kB / 0.6792 GB, free: 202.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.4341, allocations: 20.22 kB / 0.6792 GB, free: 202.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000971/0.4351, allocations: 0.8113 MB / 0.68 GB, free: 202.4 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002939/0.438, allocations: 2.271 MB / 0.6823 GB, free: 201.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000897/0.4389, allocations: 0.512 MB / 0.6828 GB, free: 201 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.4391, allocations: 176.8 kB / 0.6829 GB, free: 201 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.492e-05/0.4392, allocations: 31.3 kB / 0.683 GB, free: 201 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004999/0.4397, allocations: 494.4 kB / 0.6834 GB, free: 200.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=85): time 8.416e-06/0.4397, allocations: 4.125 kB / 0.6834 GB, free: 200.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85): time 0.00169/0.4414, allocations: 0.84 MB / 0.6843 GB, free: 200.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.4414, allocations: 193.1 kB / 0.6844 GB, free: 200.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005273/0.442, allocations: 0.6033 MB / 0.685 GB, free: 199.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.438e-05/0.442, allocations: 43.39 kB / 0.6851 GB, free: 199.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.4423, allocations: 474.9 kB / 0.6855 GB, free: 199.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.4425, allocations: 294.7 kB / 0.6858 GB, free: 199.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.4427, allocations: 175.7 kB / 0.686 GB, free: 199.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4428, allocations: 0.5601 MB / 0.6865 GB, free: 198.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.4431, allocations: 134.8 kB / 0.6866 GB, free: 198.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.4434, allocations: 383.8 kB / 0.687 GB, free: 198.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.4439, allocations: 382.1 kB / 0.6874 GB, free: 198.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.4439, allocations: 6.25 kB / 0.6874 GB, free: 198.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001052/0.445, allocations: 0.6494 MB / 0.688 GB, free: 198.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.445, allocations: 5.469 kB / 0.688 GB, free: 198.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.445, allocations: 5.375 kB / 0.688 GB, free: 198.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004973/0.4455, allocations: 136.2 kB / 0.6882 GB, free: 198.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/0.4459, allocations: 166.8 kB / 0.6883 GB, free: 198.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.4473, allocations: 1.897 MB / 0.6902 GB, free: 196.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/0.4477, allocations: 74.22 kB / 0.6902 GB, free: 196.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.085e-05/0.4478, allocations: 35.73 kB / 0.6903 GB, free: 196.2 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.0002838/0.448, allocations: 224.6 kB / 0.6905 GB, free: 196 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.4482, allocations: 111.1 kB / 0.6906 GB, free: 196 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.4494, allocations: 0.8434 MB / 0.6914 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.4494, allocations: 9.031 kB / 0.6914 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4494, allocations: 4.812 kB / 0.6914 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.4494, allocations: 8.109 kB / 0.6914 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006323/0.4501, allocations: 0.6083 MB / 0.692 GB, free: 195.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.4501, allocations: 1.312 kB / 0.692 GB, free: 195.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000333/0.4504, allocations: 157.9 kB / 0.6922 GB, free: 195.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003782/0.4508, allocations: 113.8 kB / 0.6923 GB, free: 195.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/0.4508, allocations: 31.34 kB / 0.6923 GB, free: 195.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.4519, allocations: 1.922 MB / 0.6942 GB, free: 193.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4519, allocations: 0 / 0.6942 GB, free: 193.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.4532, allocations: 0.9305 MB / 0.6951 GB, free: 193.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/0.4535, allocations: 201 kB / 0.6953 GB, free: 193.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.428e-05/0.4536, allocations: 23.28 kB / 0.6953 GB, free: 193.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.4538, allocations: 48.56 kB / 0.6954 GB, free: 193 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.454, allocations: 75.03 kB / 0.6954 GB, free: 193 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/0.454, allocations: 37.83 kB / 0.6955 GB, free: 193 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000351/0.4544, allocations: 413.7 kB / 0.6959 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4544, allocations: 0 / 0.6959 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008977/0.4553, allocations: 347.3 kB / 0.6962 GB, free: 192.8 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.001608/0.4569, allocations: 0.6282 MB / 0.6968 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001318/0.4582, allocations: 0.6613 MB / 0.6975 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.4582, allocations: 0 / 0.6975 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00062/0.4588, allocations: 488.3 kB / 0.6979 GB, free: 192.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009366/0.4598, allocations: 328.4 kB / 0.6982 GB, free: 192 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/0.4632, allocations: 1.676 MB / 0.6999 GB, free: 191.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.4634, allocations: 203.1 kB / 0.7001 GB, free: 191.1 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006305/0.464, allocations: 247.9 kB / 0.7003 GB, free: 191 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.4642, allocations: 109.4 kB / 0.7004 GB, free: 191 MB / 0.6355 GB Notification: Performance of SimCode: time 2.545e-06/0.4642, allocations: 0 / 0.7004 GB, free: 191 MB / 0.6355 GB Notification: Performance of Templates: time 0.02603/0.4903, allocations: 15.62 MB / 0.7157 GB, free: 189.1 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.057285332819447]