Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001044/0.001044, 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.0009785/0.0009785, 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.063/1.063, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.8465/0.8465, allocations: 154.6 MB / 414.9 MB, free: 0.6914 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.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.5203 GB, free: 2.547 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.457e-05/3.685e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.543 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007842/0.007879, allocations: 4.974 MB / 0.5252 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1484/0.1563, allocations: 146.3 MB / 0.6681 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008785/0.1572, allocations: 23.81 kB / 0.6681 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005581/0.1577, allocations: 206 kB / 0.6683 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.1591, allocations: 0.594 MB / 0.6689 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.1607, allocations: 0.8646 MB / 0.6697 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009374/0.1616, allocations: 1.49 MB / 0.6712 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005331/0.1621, allocations: 390.3 kB / 0.6716 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007488/0.1629, allocations: 0.7485 MB / 0.6723 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003811/0.1633, allocations: 410.8 kB / 0.6727 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.1634, allocations: 120 kB / 0.6728 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005483/0.1639, allocations: 0.4915 MB / 0.6733 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.1641, allocations: 318.9 kB / 0.6736 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.1644, allocations: 395 kB / 0.6739 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.1655, allocations: 1.277 MB / 0.6752 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1655, allocations: 0 / 0.6752 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.076e-06/0.1655, allocations: 4 kB / 0.6752 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.1655, allocations: 4 kB / 0.6752 GB, free: 3.523 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.0016/0.1671, allocations: 1.527 MB / 0.6767 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1672, allocations: 12.03 kB / 0.6767 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008809/0.1681, allocations: 327.6 kB / 0.677 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008018/0.1689, allocations: 0.7324 MB / 0.6777 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/0.1689, allocations: 70.11 kB / 0.6778 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.293e-05/0.169, allocations: 88 kB / 0.6779 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2604/0.4294, allocations: 1.011 MB / 0.6789 GB, free: 202.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.4295, allocations: 0 / 0.6789 GB, free: 202.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.966e-05/0.4296, allocations: 35.84 kB / 0.6789 GB, free: 202.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.4296, allocations: 21.31 kB / 0.6789 GB, free: 202.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008667/0.4304, allocations: 0.7987 MB / 0.6797 GB, free: 202.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.4328, allocations: 2.236 MB / 0.6819 GB, free: 201.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007095/0.4335, allocations: 498.8 kB / 0.6824 GB, free: 201.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.4338, allocations: 166.5 kB / 0.6825 GB, free: 201.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.121e-05/0.4338, allocations: 27.81 kB / 0.6826 GB, free: 201.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004238/0.4342, allocations: 490.6 kB / 0.683 GB, free: 200.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 2.495e-06/0.4342, allocations: 1.844 kB / 0.683 GB, free: 200.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.001484/0.4357, allocations: 0.8071 MB / 0.6838 GB, free: 200.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.4358, allocations: 194.4 kB / 0.684 GB, free: 200.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.4362, allocations: 0.5906 MB / 0.6846 GB, free: 200.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.4362, allocations: 44.7 kB / 0.6846 GB, free: 200.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.4364, allocations: 462.7 kB / 0.6851 GB, free: 199.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.4365, allocations: 279.8 kB / 0.6853 GB, free: 199.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.4367, allocations: 177.8 kB / 0.6855 GB, free: 199.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.134e-05/0.4367, allocations: 0.5575 MB / 0.686 GB, free: 199.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.4369, allocations: 133.3 kB / 0.6862 GB, free: 199 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.4372, allocations: 371.3 kB / 0.6865 GB, free: 198.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.4377, allocations: 373.9 kB / 0.6869 GB, free: 198.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4377, allocations: 4.812 kB / 0.6869 GB, free: 198.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008735/0.4385, allocations: 0.6423 MB / 0.6875 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4385, allocations: 5.906 kB / 0.6875 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.4386, allocations: 2.75 kB / 0.6875 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000447/0.439, allocations: 133.5 kB / 0.6876 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.4393, allocations: 167 kB / 0.6878 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.4404, allocations: 1.892 MB / 0.6896 GB, free: 196.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.4407, allocations: 76.14 kB / 0.6897 GB, free: 196.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.4408, allocations: 36.23 kB / 0.6898 GB, free: 196.5 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 (97): * Single equations (assignments): 96 * 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.0001762/0.4409, allocations: 218.3 kB / 0.69 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.4411, allocations: 109 kB / 0.6901 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.4421, allocations: 0.8294 MB / 0.6909 GB, free: 196 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.4421, allocations: 9.328 kB / 0.6909 GB, free: 196 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.4421, allocations: 3.562 kB / 0.6909 GB, free: 196 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.4421, allocations: 7.359 kB / 0.6909 GB, free: 196 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.4426, allocations: 0.5997 MB / 0.6915 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4426, allocations: 2.906 kB / 0.6915 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000312/0.4429, allocations: 146.4 kB / 0.6916 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003336/0.4433, allocations: 112 kB / 0.6917 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.4433, allocations: 34.17 kB / 0.6918 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008191/0.4441, allocations: 1.917 MB / 0.6936 GB, free: 193.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4441, allocations: 0 / 0.6936 GB, free: 193.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.4453, allocations: 0.9137 MB / 0.6945 GB, free: 193.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/0.4455, allocations: 194.2 kB / 0.6947 GB, free: 193.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.899e-05/0.4455, allocations: 22.7 kB / 0.6947 GB, free: 193.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.4458, allocations: 47.09 kB / 0.6948 GB, free: 193.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.4459, allocations: 72.14 kB / 0.6948 GB, free: 193.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/0.4459, allocations: 42.09 kB / 0.6949 GB, free: 193.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002684/0.4462, allocations: 403.8 kB / 0.6953 GB, free: 193.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4462, allocations: 0 / 0.6953 GB, free: 193.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005619/0.4467, allocations: 347.9 kB / 0.6956 GB, free: 193.1 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 (93): * Single equations (assignments): 87 * 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.001206/0.448, allocations: 0.6198 MB / 0.6962 GB, free: 193 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007938/0.4487, allocations: 0.6483 MB / 0.6968 GB, free: 192.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4487, allocations: 0 / 0.6968 GB, free: 192.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004039/0.4492, allocations: 475.5 kB / 0.6973 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006374/0.4498, allocations: 325 kB / 0.6976 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.452, allocations: 1.629 MB / 0.6992 GB, free: 191.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.4521, allocations: 199.1 kB / 0.6994 GB, free: 191.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000438/0.4525, allocations: 251.4 kB / 0.6996 GB, free: 191.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.4527, allocations: 111.2 kB / 0.6997 GB, free: 191.4 MB / 0.6355 GB Notification: Performance of SimCode: time 9.92e-07/0.4527, allocations: 0.875 kB / 0.6997 GB, free: 191.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.01859/0.4713, allocations: 15.44 MB / 0.7148 GB, free: 189.6 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.059487177990377]