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.0009715/0.0009715, allocations: 92.22 kB / 19.65 MB, free: 276 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.001059/0.001059, allocations: 173 kB / 23.03 MB, free: 1.543 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.9549/0.9549, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.8134/0.8134, allocations: 154.9 MB / 414.8 MB, free: 396 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.863e-06/1.863e-06, allocations: 0 / 0.5207 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.227e-05, allocations: 5.484 kB / 0.5207 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005788/0.00582, allocations: 5.128 MB / 0.5257 GB, free: 11.59 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.439/0.4449, allocations: 146.6 MB / 0.6688 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007876/0.4456, allocations: 28.03 kB / 0.6689 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005396/0.4462, allocations: 210.5 kB / 0.6691 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001624/0.4478, allocations: 0.6103 MB / 0.6697 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.4495, allocations: 0.8722 MB / 0.6705 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001841/0.4513, allocations: 1.507 MB / 0.672 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006883/0.452, allocations: 411.7 kB / 0.6724 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001302/0.4533, allocations: 0.7979 MB / 0.6732 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006535/0.454, allocations: 393.3 kB / 0.6735 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002465/0.4542, allocations: 112.1 kB / 0.6736 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.4553, allocations: 490.1 kB / 0.6741 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002644/0.4556, allocations: 302.2 kB / 0.6744 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000565/0.4561, allocations: 387.2 kB / 0.6748 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.458, allocations: 1.268 MB / 0.676 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.458, allocations: 0 / 0.676 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.993e-06/0.458, allocations: 0 / 0.676 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.626e-05/0.458, allocations: 4 kB / 0.676 GB, free: 13.92 MB / 0.5573 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.001961/0.46, allocations: 1.554 MB / 0.6775 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.46, allocations: 8.656 kB / 0.6775 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009154/0.461, allocations: 326.5 kB / 0.6778 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009384/0.4619, allocations: 0.731 MB / 0.6786 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/0.462, allocations: 68.16 kB / 0.6786 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.4621, allocations: 95.92 kB / 0.6787 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.4633, allocations: 0.9564 MB / 0.6796 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.4633, allocations: 3.812 kB / 0.6797 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-05/0.4634, allocations: 34.28 kB / 0.6797 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.4634, allocations: 26.52 kB / 0.6797 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.4645, allocations: 0.8018 MB / 0.6805 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002767/0.4673, allocations: 2.243 MB / 0.6827 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009099/0.4682, allocations: 0.5023 MB / 0.6832 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.4685, allocations: 185.4 kB / 0.6833 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.826e-05/0.4686, allocations: 28.78 kB / 0.6834 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005412/0.4691, allocations: 498.4 kB / 0.6839 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=85): time 3.327e-06/0.4691, allocations: 0 / 0.6839 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=85): time 0.001841/0.4709, allocations: 0.8315 MB / 0.6847 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.471, allocations: 193.8 kB / 0.6848 GB, free: 10.56 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005407/0.4715, allocations: 0.5933 MB / 0.6854 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/0.4716, allocations: 45.67 kB / 0.6855 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.4718, allocations: 481 kB / 0.6859 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.472, allocations: 285 kB / 0.6862 GB, free: 9.895 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.4722, allocations: 178.4 kB / 0.6864 GB, free: 9.863 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4723, allocations: 0.5651 MB / 0.6869 GB, free: 9.367 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/0.4726, allocations: 133.7 kB / 0.6871 GB, free: 9.367 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/0.4729, allocations: 375.2 kB / 0.6874 GB, free: 9.141 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005898/0.4735, allocations: 389.5 kB / 0.6878 GB, free: 9.07 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4735, allocations: 0 / 0.6878 GB, free: 9.07 MB / 0.5573 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001176/0.4747, allocations: 0.6496 MB / 0.6884 GB, free: 8.949 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.4747, allocations: 10.5 kB / 0.6884 GB, free: 8.945 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.4747, allocations: 0 / 0.6884 GB, free: 8.945 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005506/0.4753, allocations: 129.2 kB / 0.6885 GB, free: 8.926 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.4758, allocations: 165.5 kB / 0.6887 GB, free: 8.918 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.4772, allocations: 1.914 MB / 0.6906 GB, free: 7.133 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/0.4776, allocations: 71.33 kB / 0.6906 GB, free: 7.105 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-05/0.4777, allocations: 35.8 kB / 0.6907 GB, free: 7.105 MB / 0.5573 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.0002585/0.4779, allocations: 215.3 kB / 0.6909 GB, free: 6.934 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.4781, allocations: 113.5 kB / 0.691 GB, free: 6.887 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.4795, allocations: 0.839 MB / 0.6918 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.4795, allocations: 12.14 kB / 0.6918 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4795, allocations: 0 / 0.6918 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.4795, allocations: 8.672 kB / 0.6918 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006708/0.4802, allocations: 0.6081 MB / 0.6924 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.4802, allocations: 0 / 0.6924 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004335/0.4806, allocations: 163.6 kB / 0.6926 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004242/0.481, allocations: 113.1 kB / 0.6927 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.057e-05/0.4811, allocations: 25.81 kB / 0.6927 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.4821, allocations: 1.916 MB / 0.6946 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4821, allocations: 0 / 0.6946 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.4835, allocations: 0.9239 MB / 0.6955 GB, free: 4.59 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/0.4838, allocations: 196.2 kB / 0.6957 GB, free: 4.527 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.105e-05/0.4839, allocations: 25.06 kB / 0.6957 GB, free: 4.527 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.4842, allocations: 37.64 kB / 0.6957 GB, free: 4.527 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.4843, allocations: 75.44 kB / 0.6958 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.496e-05/0.4844, allocations: 36.55 kB / 0.6958 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003339/0.4847, allocations: 399.8 kB / 0.6962 GB, free: 4.387 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4847, allocations: 0 / 0.6962 GB, free: 4.387 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008687/0.4856, allocations: 342.3 kB / 0.6965 GB, free: 4.328 MB / 0.5573 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.001621/0.4872, allocations: 0.6228 MB / 0.6972 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001118/0.4883, allocations: 0.6577 MB / 0.6978 GB, free: 3.922 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4883, allocations: 2.781 kB / 0.6978 GB, free: 3.922 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005689/0.4889, allocations: 481.2 kB / 0.6983 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000946/0.4898, allocations: 333.6 kB / 0.6986 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.493, allocations: 1.68 MB / 0.7002 GB, free: 2.895 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.4932, allocations: 202.7 kB / 0.7004 GB, free: 2.812 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006389/0.4938, allocations: 248.1 kB / 0.7006 GB, free: 2.738 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.4941, allocations: 111.5 kB / 0.7008 GB, free: 2.727 MB / 0.5573 GB Notification: Performance of SimCode: time 1.242e-06/0.4941, allocations: 0 / 0.7008 GB, free: 2.727 MB / 0.5573 GB Notification: Performance of Templates: time 0.02177/0.5158, allocations: 16.35 MB / 0.7167 GB, free: 10.96 MB / 0.573 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: 4.9480462577193975]