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.001522/0.001522, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001365/0.001365, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.092/1.092, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.8651/0.8651, allocations: 154.8 MB / 414.7 MB, free: 472 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.613e-06/1.613e-06, allocations: 0.5469 kB / 0.5205 GB, free: 1.945 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.824e-05/2.986e-05, allocations: 2.312 kB / 0.5205 GB, free: 1.941 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007047/0.007077, allocations: 5.134 MB / 0.5256 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.14/0.1471, allocations: 146.6 MB / 0.6687 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008433/0.1479, allocations: 27.81 kB / 0.6688 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000587/0.1485, allocations: 206 kB / 0.669 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.1501, allocations: 0.5978 MB / 0.6695 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.1519, allocations: 0.8724 MB / 0.6704 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001558/0.1534, allocations: 1.521 MB / 0.6719 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006446/0.1541, allocations: 402.8 kB / 0.6723 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009983/0.1551, allocations: 0.764 MB / 0.673 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005583/0.1556, allocations: 422.8 kB / 0.6734 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.1558, allocations: 120 kB / 0.6735 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009/0.1567, allocations: 0.4915 MB / 0.674 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.1569, allocations: 314.9 kB / 0.6743 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003157/0.1572, allocations: 411 kB / 0.6747 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.1587, allocations: 1.304 MB / 0.676 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1587, allocations: 0 / 0.676 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1587, allocations: 0 / 0.676 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.796e-05/0.1587, allocations: 0 / 0.676 GB, free: 2.383 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.001743/0.1604, allocations: 1.558 MB / 0.6775 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.1605, allocations: 12.03 kB / 0.6775 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009733/0.1614, allocations: 335.5 kB / 0.6778 GB, free: 444 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3057/0.4671, allocations: 0.7272 MB / 0.6785 GB, free: 56.73 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.677e-05/0.4672, allocations: 71.09 kB / 0.6786 GB, free: 56.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.4673, allocations: 87.25 kB / 0.6787 GB, free: 56.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.4685, allocations: 1.026 MB / 0.6797 GB, free: 56.21 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.4685, allocations: 0.625 kB / 0.6797 GB, free: 56.21 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.164e-05/0.4686, allocations: 40.25 kB / 0.6797 GB, free: 56.21 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.4686, allocations: 26.66 kB / 0.6798 GB, free: 56.21 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009791/0.4696, allocations: 0.8038 MB / 0.6805 GB, free: 56.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002713/0.4723, allocations: 2.28 MB / 0.6828 GB, free: 55.35 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008284/0.4732, allocations: 0.5052 MB / 0.6833 GB, free: 55.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.4734, allocations: 172 kB / 0.6834 GB, free: 55.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.965e-05/0.4734, allocations: 32.73 kB / 0.6835 GB, free: 55.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004597/0.4739, allocations: 0.4943 MB / 0.6839 GB, free: 55.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=85): time 3.546e-06/0.4739, allocations: 0 / 0.6839 GB, free: 55.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85): time 0.001639/0.4755, allocations: 0.8414 MB / 0.6848 GB, free: 54.96 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.4756, allocations: 189.4 kB / 0.6849 GB, free: 54.74 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004745/0.4761, allocations: 0.6031 MB / 0.6855 GB, free: 54.55 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.608e-05/0.4761, allocations: 46.08 kB / 0.6856 GB, free: 54.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.4763, allocations: 478.4 kB / 0.686 GB, free: 54.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.4764, allocations: 294.3 kB / 0.6863 GB, free: 54.15 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.4766, allocations: 170.6 kB / 0.6865 GB, free: 54.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4767, allocations: 0.5629 MB / 0.687 GB, free: 53.63 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.477, allocations: 138.9 kB / 0.6872 GB, free: 53.63 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.4773, allocations: 372.5 kB / 0.6875 GB, free: 53.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004965/0.4778, allocations: 389.3 kB / 0.6879 GB, free: 53.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4778, allocations: 3.531 kB / 0.6879 GB, free: 53.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0009676/0.4787, allocations: 0.6546 MB / 0.6885 GB, free: 53.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.4787, allocations: 7.469 kB / 0.6885 GB, free: 53.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.4788, allocations: 2.906 kB / 0.6885 GB, free: 53.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004521/0.4792, allocations: 130 kB / 0.6887 GB, free: 53.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.4796, allocations: 168.7 kB / 0.6888 GB, free: 53.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.4807, allocations: 1.898 MB / 0.6907 GB, free: 51.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.481, allocations: 83.78 kB / 0.6907 GB, free: 51.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.481, allocations: 36.23 kB / 0.6908 GB, free: 51.44 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.0001766/0.4812, allocations: 208.8 kB / 0.691 GB, free: 51.28 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.4813, allocations: 112.9 kB / 0.6911 GB, free: 51.24 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.4824, allocations: 0.8445 MB / 0.6919 GB, free: 51.14 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.4824, allocations: 11.75 kB / 0.6919 GB, free: 51.14 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4825, allocations: 7.812 kB / 0.6919 GB, free: 51.14 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4825, allocations: 6.281 kB / 0.6919 GB, free: 51.14 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005412/0.483, allocations: 0.6118 MB / 0.6925 GB, free: 50.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.483, allocations: 0.5469 kB / 0.6925 GB, free: 50.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.4833, allocations: 155 kB / 0.6927 GB, free: 50.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003473/0.4837, allocations: 118.5 kB / 0.6928 GB, free: 50.97 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.4837, allocations: 26.33 kB / 0.6928 GB, free: 50.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008982/0.4846, allocations: 1.917 MB / 0.6947 GB, free: 49.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4846, allocations: 0.6562 kB / 0.6947 GB, free: 49.21 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.4858, allocations: 0.9274 MB / 0.6956 GB, free: 49.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/0.4861, allocations: 203.9 kB / 0.6958 GB, free: 48.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.582e-05/0.4861, allocations: 25.41 kB / 0.6958 GB, free: 48.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/0.4864, allocations: 43.12 kB / 0.6959 GB, free: 48.99 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.4866, allocations: 73.91 kB / 0.6959 GB, free: 48.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/0.4866, allocations: 38.38 kB / 0.696 GB, free: 48.99 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003038/0.4869, allocations: 410.8 kB / 0.6964 GB, free: 48.86 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4869, allocations: 0 / 0.6964 GB, free: 48.86 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006587/0.4876, allocations: 346.6 kB / 0.6967 GB, free: 48.83 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.001253/0.4888, allocations: 0.6239 MB / 0.6973 GB, free: 48.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008228/0.4896, allocations: 0.662 MB / 0.6979 GB, free: 48.51 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4897, allocations: 0 / 0.6979 GB, free: 48.51 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004307/0.4901, allocations: 485.9 kB / 0.6984 GB, free: 48.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006765/0.4908, allocations: 336.3 kB / 0.6987 GB, free: 48.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.4931, allocations: 1.686 MB / 0.7004 GB, free: 47.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.4932, allocations: 199.8 kB / 0.7006 GB, free: 47.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004619/0.4937, allocations: 254.6 kB / 0.7008 GB, free: 47.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.4939, allocations: 111 kB / 0.7009 GB, free: 47.43 MB / 0.6355 GB Notification: Performance of SimCode: time 9.42e-07/0.4939, allocations: 0.75 kB / 0.7009 GB, free: 47.43 MB / 0.6355 GB Notification: Performance of Templates: time 0.0219/0.5158, allocations: 15.61 MB / 0.7162 GB, free: 45.94 MB / 0.6355 GB " [Timeout remaining time 659] 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: 5.239845891017467]