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.001336/0.001336, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001726/0.001726, allocations: 173 kB / 23.49 MB, free: 1.059 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.116/1.116, allocations: 177.1 MB / 203.8 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.768/0.768, allocations: 154.8 MB / 415.1 MB, free: 496 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.593e-06/1.593e-06, allocations: 0 / 0.5206 GB, free: 2.332 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.969e-05, allocations: 6.625 kB / 0.5206 GB, free: 2.328 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.004901/0.004921, allocations: 5.089 MB / 0.5255 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1286/0.1335, allocations: 146.4 MB / 0.6685 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007881/0.1343, allocations: 23.81 kB / 0.6685 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005297/0.1348, allocations: 206 kB / 0.6687 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.1362, allocations: 0.6018 MB / 0.6693 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.1376, allocations: 0.8763 MB / 0.6701 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009068/0.1385, allocations: 1.505 MB / 0.6716 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005221/0.1391, allocations: 418.7 kB / 0.672 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005937/0.1397, allocations: 0.7601 MB / 0.6728 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004047/0.1401, allocations: 418.8 kB / 0.6732 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001516/0.1402, allocations: 124 kB / 0.6733 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006011/0.1408, allocations: 0.4915 MB / 0.6738 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.141, allocations: 322.9 kB / 0.6741 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.1413, allocations: 410.9 kB / 0.6745 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.1424, allocations: 1.288 MB / 0.6757 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1424, allocations: 0 / 0.6757 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1424, allocations: 0 / 0.6757 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.1424, allocations: 0 / 0.6757 GB, free: 3.055 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.001638/0.144, allocations: 1.558 MB / 0.6772 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1441, allocations: 12.03 kB / 0.6772 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008728/0.145, allocations: 331.5 kB / 0.6776 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007482/0.1457, allocations: 0.7364 MB / 0.6783 GB, free: 356 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.156e-05/0.1458, allocations: 70.06 kB / 0.6783 GB, free: 288 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.145e-05/0.1458, allocations: 92 kB / 0.6784 GB, free: 196 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3039/0.4498, allocations: 1.026 MB / 0.6794 GB, free: 58.03 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/0.4498, allocations: 3.188 kB / 0.6794 GB, free: 58.03 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.436e-05/0.4499, allocations: 38.81 kB / 0.6795 GB, free: 58.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/0.4499, allocations: 20.28 kB / 0.6795 GB, free: 58.03 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008627/0.4508, allocations: 0.805 MB / 0.6803 GB, free: 58.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002558/0.4533, allocations: 2.281 MB / 0.6825 GB, free: 57.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007924/0.4541, allocations: 0.5019 MB / 0.683 GB, free: 57.13 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.4543, allocations: 169.8 kB / 0.6832 GB, free: 57.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.076e-05/0.4544, allocations: 31.03 kB / 0.6832 GB, free: 57.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004504/0.4548, allocations: 0.4919 MB / 0.6837 GB, free: 56.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=85): time 2.584e-06/0.4548, allocations: 3.938 kB / 0.6837 GB, free: 56.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85): time 0.001557/0.4564, allocations: 0.8462 MB / 0.6845 GB, free: 56.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.4564, allocations: 190 kB / 0.6847 GB, free: 56.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000452/0.4569, allocations: 0.6032 MB / 0.6853 GB, free: 56.38 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/0.4569, allocations: 44.73 kB / 0.6853 GB, free: 56.35 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.4571, allocations: 479 kB / 0.6858 GB, free: 56.14 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.4573, allocations: 293.2 kB / 0.6861 GB, free: 55.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.4574, allocations: 177.5 kB / 0.6862 GB, free: 55.95 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4575, allocations: 0.5577 MB / 0.6868 GB, free: 55.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.4577, allocations: 140.3 kB / 0.6869 GB, free: 55.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.458, allocations: 377 kB / 0.6873 GB, free: 55.24 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004678/0.4585, allocations: 382 kB / 0.6876 GB, free: 55.17 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.4585, allocations: 5.688 kB / 0.6876 GB, free: 55.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0009295/0.4594, allocations: 0.657 MB / 0.6883 GB, free: 55.06 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.4595, allocations: 5.938 kB / 0.6883 GB, free: 55.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4595, allocations: 2.938 kB / 0.6883 GB, free: 55.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004652/0.4599, allocations: 126.6 kB / 0.6884 GB, free: 55.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.4603, allocations: 171.4 kB / 0.6886 GB, free: 55.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.4614, allocations: 1.893 MB / 0.6904 GB, free: 53.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.4617, allocations: 78.09 kB / 0.6905 GB, free: 53.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/0.4617, allocations: 46.09 kB / 0.6905 GB, free: 53.27 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.0001867/0.4619, allocations: 210.7 kB / 0.6907 GB, free: 53.11 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.462, allocations: 115.4 kB / 0.6908 GB, free: 53.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.4631, allocations: 0.843 MB / 0.6917 GB, free: 52.97 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.4632, allocations: 8.594 kB / 0.6917 GB, free: 52.97 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.4632, allocations: 3.75 kB / 0.6917 GB, free: 52.97 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.4632, allocations: 6.656 kB / 0.6917 GB, free: 52.97 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005147/0.4637, allocations: 0.6068 MB / 0.6923 GB, free: 52.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4637, allocations: 0.5469 kB / 0.6923 GB, free: 52.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/0.464, allocations: 161.6 kB / 0.6924 GB, free: 52.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003389/0.4644, allocations: 112 kB / 0.6925 GB, free: 52.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.4644, allocations: 28.98 kB / 0.6926 GB, free: 52.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008588/0.4653, allocations: 1.918 MB / 0.6944 GB, free: 51.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4653, allocations: 0.9844 kB / 0.6944 GB, free: 51.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.4664, allocations: 0.9331 MB / 0.6953 GB, free: 50.86 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.4666, allocations: 201.3 kB / 0.6955 GB, free: 50.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-05/0.4667, allocations: 20.16 kB / 0.6956 GB, free: 50.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.467, allocations: 47.27 kB / 0.6956 GB, free: 50.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.4671, allocations: 75.33 kB / 0.6957 GB, free: 50.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/0.4671, allocations: 36.91 kB / 0.6957 GB, free: 50.81 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002824/0.4674, allocations: 411.1 kB / 0.6961 GB, free: 50.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4674, allocations: 0.6562 kB / 0.6961 GB, free: 50.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006059/0.468, allocations: 350.7 kB / 0.6964 GB, free: 50.65 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.001272/0.4693, allocations: 0.6209 MB / 0.697 GB, free: 50.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008297/0.4701, allocations: 0.6603 MB / 0.6977 GB, free: 50.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4701, allocations: 0 / 0.6977 GB, free: 50.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004258/0.4705, allocations: 486.1 kB / 0.6982 GB, free: 50.15 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006783/0.4712, allocations: 335.9 kB / 0.6985 GB, free: 50.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.4737, allocations: 1.682 MB / 0.7001 GB, free: 49.39 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.4738, allocations: 195.9 kB / 0.7003 GB, free: 49.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004629/0.4742, allocations: 259.6 kB / 0.7006 GB, free: 49.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.4744, allocations: 107.3 kB / 0.7007 GB, free: 49.27 MB / 0.6355 GB Notification: Performance of SimCode: time 7.02e-07/0.4744, allocations: 0 / 0.7007 GB, free: 49.27 MB / 0.6355 GB Notification: Performance of Templates: time 0.0202/0.4946, allocations: 15.62 MB / 0.7159 GB, free: 47.78 MB / 0.6355 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.9070344041101635]