Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.001364/0.001364, 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.001543/0.001543, 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.9263/0.9263, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.8033/0.8033, allocations: 154.6 MB / 414.8 MB, free: 0.4961 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.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 480 MB, free: 6.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.344e-05, allocations: 5.219 kB / 480 MB, free: 6.949 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.005734/0.005757, allocations: 4.725 MB / 484.7 MB, free: 2.262 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1504/0.1562, allocations: 146 MB / 0.6159 GB, free: 84 kB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007682/0.1569, allocations: 27.81 kB / 0.6159 GB, free: 56 kB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005238/0.1574, allocations: 198.1 kB / 0.6161 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001493/0.1589, allocations: 0.5823 MB / 0.6167 GB, free: 15.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.1606, allocations: 0.8607 MB / 0.6175 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001194/0.1618, allocations: 1.42 MB / 0.6189 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005248/0.1623, allocations: 413.7 kB / 0.6193 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008104/0.1631, allocations: 0.7484 MB / 0.6201 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003805/0.1635, allocations: 370.9 kB / 0.6204 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.1636, allocations: 104 kB / 0.6205 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008257/0.1644, allocations: 479.4 kB / 0.621 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.1646, allocations: 283 kB / 0.6212 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.1648, allocations: 367 kB / 0.6216 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.166, allocations: 1.218 MB / 0.6228 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.166, allocations: 0 / 0.6228 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.443e-06/0.166, allocations: 0 / 0.6228 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.166, allocations: 0 / 0.6228 GB, free: 9.004 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001767/0.1678, allocations: 1.351 MB / 0.6241 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1678, allocations: 16.02 kB / 0.6241 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007589/0.1686, allocations: 272.3 kB / 0.6244 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006712/0.1692, allocations: 0.5824 MB / 0.6249 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.1e-05/0.1693, allocations: 66.12 kB / 0.625 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.318e-05/0.1693, allocations: 84 kB / 0.6251 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006531/0.17, allocations: 0.8571 MB / 0.6259 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.17, allocations: 0 / 0.6259 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.236e-05/0.1701, allocations: 32 kB / 0.6259 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.1701, allocations: 23.98 kB / 0.626 GB, free: 5.574 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005994/0.1707, allocations: 0.5752 MB / 0.6265 GB, free: 5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.1726, allocations: 1.632 MB / 0.6281 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/0.173, allocations: 374.6 kB / 0.6285 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.1732, allocations: 118.8 kB / 0.6286 GB, free: 2.836 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.574e-05/0.1732, allocations: 28.62 kB / 0.6286 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003143/0.1735, allocations: 429.9 kB / 0.629 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=78): time 1.763e-06/0.1735, allocations: 0 / 0.629 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of matching and sorting (n=78): time 0.0009494/0.1745, allocations: 0.5335 MB / 0.6296 GB, free: 1.805 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/0.1745, allocations: 188.6 kB / 0.6297 GB, free: 1.578 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003472/0.1749, allocations: 0.5134 MB / 0.6302 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.1749, allocations: 37.7 kB / 0.6303 GB, free: 1.012 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.1751, allocations: 334.2 kB / 0.6306 GB, free: 0.6758 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.1752, allocations: 265.7 kB / 0.6308 GB, free: 424 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.1754, allocations: 154.5 kB / 0.631 GB, free: 264 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1755, allocations: 394.6 kB / 0.6314 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.1756, allocations: 88.72 kB / 0.6315 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.1758, allocations: 304.5 kB / 0.6317 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.1761, allocations: 304.2 kB / 0.632 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1761, allocations: 0 / 0.632 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0005967/0.1767, allocations: 431 kB / 0.6324 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1767, allocations: 7.984 kB / 0.6324 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1767, allocations: 4 kB / 0.6325 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003778/0.1771, allocations: 124.8 kB / 0.6326 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/0.1774, allocations: 147.7 kB / 0.6327 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000953/0.1784, allocations: 1.307 MB / 0.634 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.1786, allocations: 75.53 kB / 0.6341 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.1786, allocations: 28.02 kB / 0.6341 GB, free: 12.91 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0001768/0.1788, allocations: 166.5 kB / 0.6342 GB, free: 12.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.638e-05/0.1789, allocations: 71.88 kB / 0.6343 GB, free: 12.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009481/0.1798, allocations: 0.5871 MB / 0.6349 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1798, allocations: 8 kB / 0.6349 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.1799, allocations: 0 / 0.6349 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1799, allocations: 3.984 kB / 0.6349 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004049/0.1803, allocations: 438 kB / 0.6353 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1803, allocations: 0 / 0.6353 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.1805, allocations: 139.7 kB / 0.6355 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002976/0.1808, allocations: 112.7 kB / 0.6356 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.1809, allocations: 19.98 kB / 0.6356 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008061/0.1817, allocations: 1.313 MB / 0.6369 GB, free: 9.938 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1817, allocations: 4 kB / 0.6369 GB, free: 9.934 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005552/0.1822, allocations: 481.1 kB / 0.6373 GB, free: 9.441 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.1824, allocations: 147.1 kB / 0.6375 GB, free: 9.297 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.201e-05/0.1825, allocations: 20 kB / 0.6375 GB, free: 9.277 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.1826, allocations: 35.97 kB / 0.6375 GB, free: 9.242 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.264e-05/0.1827, allocations: 60.88 kB / 0.6376 GB, free: 9.184 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-05/0.1828, allocations: 32.03 kB / 0.6376 GB, free: 9.152 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002081/0.183, allocations: 247.4 kB / 0.6378 GB, free: 8.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.183, allocations: 0 / 0.6378 GB, free: 8.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005113/0.1835, allocations: 331.1 kB / 0.6382 GB, free: 8.586 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.001422/0.1849, allocations: 0.7593 MB / 0.6389 GB, free: 8.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005611/0.1855, allocations: 486.1 kB / 0.6394 GB, free: 7.668 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.1855, allocations: 7.938 kB / 0.6394 GB, free: 7.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.1858, allocations: 351 kB / 0.6397 GB, free: 7.305 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.1863, allocations: 307.1 kB / 0.64 GB, free: 7.027 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.1883, allocations: 1.49 MB / 0.6415 GB, free: 5.496 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.1884, allocations: 190.3 kB / 0.6416 GB, free: 5.285 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000376/0.1888, allocations: 193.9 kB / 0.6418 GB, free: 5.094 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009529/0.1897, allocations: 295 kB / 0.6421 GB, free: 4.805 MB / 0.6042 GB Notification: Performance of SimCode: time 8.22e-07/0.1897, allocations: 0 / 0.6421 GB, free: 4.805 MB / 0.6042 GB Notification: Performance of Templates: time 0.02002/0.2097, allocations: 16.28 MB / 0.658 GB, free: 4.855 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.423084789887071]