Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009441/0.0009441, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009773/0.0009773, allocations: 177 kB / 23.36 MB, free: 1.129 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.076/1.076, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8543/0.8543, allocations: 154.9 MB / 415.1 MB, free: 232 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 480.3 MB, free: 6.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.602e-05/1.716e-05, allocations: 2.969 kB / 480.3 MB, free: 6.586 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.004664/0.004681, allocations: 5.029 MB / 485.4 MB, free: 1.594 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1344/0.1391, allocations: 146.1 MB / 0.6166 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008502/0.14, allocations: 19.88 kB / 0.6167 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005436/0.1405, allocations: 210 kB / 0.6169 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.142, allocations: 0.6095 MB / 0.6175 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.1434, allocations: 0.8763 MB / 0.6183 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001011/0.1444, allocations: 1.505 MB / 0.6198 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004858/0.1449, allocations: 430.6 kB / 0.6202 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000681/0.1456, allocations: 0.7912 MB / 0.621 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003647/0.1459, allocations: 394.8 kB / 0.6213 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.146, allocations: 112 kB / 0.6215 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005441/0.1466, allocations: 495.3 kB / 0.6219 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.1468, allocations: 295 kB / 0.6222 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0005042/0.1473, allocations: 394.9 kB / 0.6226 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.1483, allocations: 1.265 MB / 0.6238 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1483, allocations: 0 / 0.6238 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1483, allocations: 0 / 0.6238 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.1483, allocations: 0 / 0.6238 GB, free: 7.938 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001311/0.1496, allocations: 1.418 MB / 0.6252 GB, free: 6.488 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.1496, allocations: 8.031 kB / 0.6252 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006932/0.1503, allocations: 292.2 kB / 0.6255 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006313/0.151, allocations: 0.5978 MB / 0.6261 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/0.151, allocations: 66.12 kB / 0.6261 GB, free: 5.504 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.45e-05/0.1511, allocations: 92 kB / 0.6262 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006512/0.1517, allocations: 0.8836 MB / 0.6271 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.1518, allocations: 0 / 0.6271 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.469e-05/0.1518, allocations: 36 kB / 0.6271 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.1518, allocations: 24 kB / 0.6271 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005701/0.1524, allocations: 0.6025 MB / 0.6277 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.1544, allocations: 1.624 MB / 0.6293 GB, free: 2.117 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005025/0.1549, allocations: 417.5 kB / 0.6297 GB, free: 1.699 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.155, allocations: 134.7 kB / 0.6298 GB, free: 1.566 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.914e-05/0.1551, allocations: 28.62 kB / 0.6299 GB, free: 1.539 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003275/0.1554, allocations: 455 kB / 0.6303 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=85): time 2.515e-06/0.1554, allocations: 0 / 0.6303 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of matching and sorting (n=85): time 0.0009874/0.1564, allocations: 0.5616 MB / 0.6309 GB, free: 496 kB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.1564, allocations: 192.9 kB / 0.631 GB, free: 260 kB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.1568, allocations: 0.5095 MB / 0.6315 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/0.1568, allocations: 45.69 kB / 0.6316 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.157, allocations: 354.2 kB / 0.6319 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.1571, allocations: 281.6 kB / 0.6322 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.1573, allocations: 162.5 kB / 0.6323 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1574, allocations: 402.5 kB / 0.6327 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.1575, allocations: 88.72 kB / 0.6328 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.1577, allocations: 311.6 kB / 0.6331 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003103/0.158, allocations: 316.7 kB / 0.6334 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.158, allocations: 0 / 0.6334 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0005989/0.1586, allocations: 451.1 kB / 0.6338 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1586, allocations: 8 kB / 0.6338 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1587, allocations: 0 / 0.6338 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003802/0.159, allocations: 128.6 kB / 0.634 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.1594, allocations: 159.8 kB / 0.6341 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009461/0.1603, allocations: 1.312 MB / 0.6354 GB, free: 11.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.1605, allocations: 75.58 kB / 0.6355 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/0.1606, allocations: 23.98 kB / 0.6355 GB, free: 11.48 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 (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.0001803/0.1608, allocations: 166.6 kB / 0.6357 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/0.1609, allocations: 83.86 kB / 0.6357 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.1619, allocations: 0.6108 MB / 0.6363 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.423e-06/0.1619, allocations: 12 kB / 0.6363 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.1619, allocations: 0 / 0.6363 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.1619, allocations: 3.984 kB / 0.6364 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004138/0.1623, allocations: 465.9 kB / 0.6368 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1623, allocations: 4 kB / 0.6368 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/0.1626, allocations: 147.8 kB / 0.6369 GB, free: 9.965 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002979/0.1629, allocations: 108.8 kB / 0.637 GB, free: 9.855 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/0.163, allocations: 23.97 kB / 0.6371 GB, free: 9.832 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008102/0.1638, allocations: 1.317 MB / 0.6384 GB, free: 8.422 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1638, allocations: 0 / 0.6384 GB, free: 8.422 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007554/0.1645, allocations: 0.6384 MB / 0.639 GB, free: 7.762 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.1647, allocations: 147.1 kB / 0.6391 GB, free: 7.617 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.66e-05/0.1648, allocations: 23.94 kB / 0.6391 GB, free: 7.594 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.165, allocations: 37.84 kB / 0.6392 GB, free: 7.559 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/0.1651, allocations: 68.86 kB / 0.6392 GB, free: 7.492 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/0.1651, allocations: 23.98 kB / 0.6393 GB, free: 7.469 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001853/0.1653, allocations: 255.4 kB / 0.6395 GB, free: 7.219 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1653, allocations: 0 / 0.6395 GB, free: 7.219 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004638/0.1658, allocations: 359 kB / 0.6398 GB, free: 6.867 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 (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.001511/0.1673, allocations: 0.7418 MB / 0.6406 GB, free: 6.457 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005722/0.1678, allocations: 0.4978 MB / 0.6411 GB, free: 5.945 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.1679, allocations: 12.06 kB / 0.6411 GB, free: 5.934 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.1682, allocations: 367 kB / 0.6414 GB, free: 5.559 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.1687, allocations: 315.8 kB / 0.6417 GB, free: 5.281 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.1708, allocations: 1.657 MB / 0.6433 GB, free: 3.594 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.1712, allocations: 190.8 kB / 0.6435 GB, free: 3.387 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003572/0.1716, allocations: 186.8 kB / 0.6437 GB, free: 3.199 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004865/0.1721, allocations: 319 kB / 0.644 GB, free: 2.887 MB / 0.6042 GB Notification: Performance of SimCode: time 8.31e-07/0.1721, allocations: 0 / 0.644 GB, free: 2.887 MB / 0.6042 GB Notification: Performance of Templates: time 0.01922/0.1913, allocations: 16.73 MB / 0.6603 GB, free: 2.492 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.620080326683819]