Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001012/0.001012, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009449/0.0009449, allocations: 173 kB / 23.36 MB, free: 1.133 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.9495/0.9495, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.8089/0.8089, allocations: 154.6 MB / 414.8 MB, free: 500 kB / 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.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.72e-07/9.72e-07, allocations: 0 / 480 MB, free: 6.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.769e-06/1.074e-05, allocations: 2.312 kB / 480 MB, free: 6.961 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.004738/0.004749, allocations: 4.922 MB / 484.9 MB, free: 2.074 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1359/0.1407, allocations: 146.1 MB / 0.6162 GB, free: 15.85 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007387/0.1414, allocations: 23.81 kB / 0.6162 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005639/0.142, allocations: 206.1 kB / 0.6164 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.1436, allocations: 0.6054 MB / 0.617 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.1453, allocations: 0.8724 MB / 0.6178 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001097/0.1464, allocations: 1.474 MB / 0.6193 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004753/0.1468, allocations: 426.1 kB / 0.6197 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006502/0.1475, allocations: 0.7756 MB / 0.6204 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000604/0.1481, allocations: 382.8 kB / 0.6208 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.1482, allocations: 112 kB / 0.6209 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005875/0.1488, allocations: 483.4 kB / 0.6214 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.149, allocations: 298.9 kB / 0.6216 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.1492, allocations: 379 kB / 0.622 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.1502, allocations: 1.249 MB / 0.6232 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1502, allocations: 4 kB / 0.6232 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1502, allocations: 0 / 0.6232 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.1503, allocations: 0 / 0.6232 GB, free: 8.559 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.001275/0.1515, allocations: 1.383 MB / 0.6246 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.1516, allocations: 8.031 kB / 0.6246 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006905/0.1522, allocations: 296.2 kB / 0.6249 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006186/0.1529, allocations: 0.5862 MB / 0.6254 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.888e-05/0.1529, allocations: 70.12 kB / 0.6255 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.894e-05/0.153, allocations: 87.98 kB / 0.6256 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006254/0.1536, allocations: 0.8641 MB / 0.6264 GB, free: 5.129 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.1536, allocations: 4 kB / 0.6264 GB, free: 5.125 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.53e-05/0.1537, allocations: 36 kB / 0.6265 GB, free: 5.09 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.1537, allocations: 20 kB / 0.6265 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005776/0.1543, allocations: 0.5908 MB / 0.6271 GB, free: 4.48 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.1562, allocations: 1.608 MB / 0.6286 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004661/0.1566, allocations: 385.7 kB / 0.629 GB, free: 2.449 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.1568, allocations: 130.8 kB / 0.6291 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.813e-05/0.1568, allocations: 36.56 kB / 0.6292 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000324/0.1571, allocations: 429.9 kB / 0.6296 GB, free: 1.824 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=82): time 1.763e-06/0.1571, allocations: 0 / 0.6296 GB, free: 1.824 MB / 0.5886 GB Notification: Performance of matching and sorting (n=82): time 0.0009702/0.1581, allocations: 0.5414 MB / 0.6301 GB, free: 1.273 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.1582, allocations: 188.6 kB / 0.6303 GB, free: 1.047 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.1585, allocations: 0.5134 MB / 0.6308 GB, free: 0.5234 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/0.1585, allocations: 41.7 kB / 0.6308 GB, free: 488 kB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.1587, allocations: 346.2 kB / 0.6312 GB, free: 136 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.1588, allocations: 277.8 kB / 0.6314 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.159, allocations: 154.5 kB / 0.6316 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.1591, allocations: 398.3 kB / 0.6319 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.1592, allocations: 88.78 kB / 0.632 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.1594, allocations: 303.6 kB / 0.6323 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.1597, allocations: 307.4 kB / 0.6326 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1597, allocations: 0 / 0.6326 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0005705/0.1602, allocations: 443 kB / 0.633 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1603, allocations: 8 kB / 0.633 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1603, allocations: 0 / 0.633 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003736/0.1606, allocations: 128.8 kB / 0.6332 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.161, allocations: 159.7 kB / 0.6333 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009459/0.1619, allocations: 1.312 MB / 0.6346 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.1621, allocations: 67.59 kB / 0.6347 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002859/0.1624, allocations: 23.97 kB / 0.6347 GB, free: 12.34 MB / 0.6042 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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 (97): * Single equations (assignments): 96 * 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.0001699/0.1626, allocations: 178.7 kB / 0.6349 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.971e-05/0.1627, allocations: 71.88 kB / 0.6349 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007333/0.1634, allocations: 0.6027 MB / 0.6355 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1634, allocations: 16 kB / 0.6355 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.1634, allocations: 0 / 0.6355 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1634, allocations: 3.984 kB / 0.6355 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.1638, allocations: 446 kB / 0.636 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1638, allocations: 0 / 0.636 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.1641, allocations: 147.8 kB / 0.6361 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000278/0.1644, allocations: 108.8 kB / 0.6362 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.1644, allocations: 23.97 kB / 0.6362 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007548/0.1651, allocations: 1.325 MB / 0.6375 GB, free: 9.289 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1651, allocations: 0 / 0.6375 GB, free: 9.289 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007222/0.1659, allocations: 0.6228 MB / 0.6381 GB, free: 8.648 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.1661, allocations: 139.2 kB / 0.6383 GB, free: 8.512 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.357e-05/0.1661, allocations: 23.95 kB / 0.6383 GB, free: 8.488 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.1663, allocations: 42.58 kB / 0.6383 GB, free: 8.449 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.172e-05/0.1664, allocations: 68.81 kB / 0.6384 GB, free: 8.379 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.1664, allocations: 23.97 kB / 0.6384 GB, free: 8.355 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001809/0.1666, allocations: 255.4 kB / 0.6387 GB, free: 8.105 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4e-08/0.1666, allocations: 0 / 0.6387 GB, free: 8.105 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004733/0.1671, allocations: 343 kB / 0.639 GB, free: 7.77 MB / 0.6042 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 (93): * Single equations (assignments): 87 * 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.001418/0.1685, allocations: 0.7461 MB / 0.6397 GB, free: 7.348 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005458/0.1691, allocations: 498 kB / 0.6402 GB, free: 6.848 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/0.1691, allocations: 12.19 kB / 0.6402 GB, free: 6.836 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003007/0.1694, allocations: 359 kB / 0.6405 GB, free: 6.473 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000541/0.1699, allocations: 306.5 kB / 0.6408 GB, free: 6.199 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.1721, allocations: 1.587 MB / 0.6424 GB, free: 4.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.1722, allocations: 198.4 kB / 0.6426 GB, free: 4.355 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003341/0.1725, allocations: 182.6 kB / 0.6427 GB, free: 4.172 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004633/0.173, allocations: 307 kB / 0.643 GB, free: 3.871 MB / 0.6042 GB Notification: Performance of SimCode: time 5.51e-07/0.173, allocations: 0 / 0.643 GB, free: 3.871 MB / 0.6042 GB Notification: Performance of Templates: time 0.01905/0.192, allocations: 16.53 MB / 0.6592 GB, free: 3.68 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.423912890255451]