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.0009354/0.0009354, 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.001726/0.001726, allocations: 169 kB / 23.02 MB, free: 1.547 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.021/1.021, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.8692/0.8692, allocations: 154.6 MB / 414.5 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.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.212e-06/1.212e-06, allocations: 3.938 kB / 0.5203 GB, free: 2.266 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.78e-05, allocations: 4.906 kB / 0.5203 GB, free: 2.262 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.0059/0.005918, allocations: 4.799 MB / 0.525 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1402/0.1461, allocations: 146.5 MB / 0.6681 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007485/0.1468, allocations: 23.81 kB / 0.6681 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005699/0.1474, allocations: 206.1 kB / 0.6683 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.1489, allocations: 0.5747 MB / 0.6688 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.1505, allocations: 0.853 MB / 0.6697 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001454/0.1519, allocations: 1.427 MB / 0.6711 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000953/0.1529, allocations: 393.8 kB / 0.6715 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009593/0.1539, allocations: 0.7134 MB / 0.6721 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005457/0.1544, allocations: 394.8 kB / 0.6725 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.1545, allocations: 120 kB / 0.6726 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009163/0.1555, allocations: 499.3 kB / 0.6731 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.1557, allocations: 299 kB / 0.6734 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003056/0.156, allocations: 383 kB / 0.6738 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.1577, allocations: 1.257 MB / 0.675 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1577, allocations: 0 / 0.675 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1577, allocations: 0 / 0.675 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.774e-05/0.1577, allocations: 0 / 0.675 GB, free: 3.426 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001878/0.1596, allocations: 1.492 MB / 0.6765 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1596, allocations: 8.031 kB / 0.6765 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009296/0.1605, allocations: 331.5 kB / 0.6768 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008862/0.1614, allocations: 0.713 MB / 0.6775 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.1615, allocations: 62.12 kB / 0.6775 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.372e-05/0.1615, allocations: 91.98 kB / 0.6776 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3437/0.5052, allocations: 0.9939 MB / 0.6786 GB, free: 56.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.5052, allocations: 0 / 0.6786 GB, free: 56.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.988e-05/0.5053, allocations: 39.12 kB / 0.6786 GB, free: 56.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.5053, allocations: 19.47 kB / 0.6786 GB, free: 56.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009377/0.5063, allocations: 0.7842 MB / 0.6794 GB, free: 56.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00284/0.5091, allocations: 2.308 MB / 0.6817 GB, free: 55.85 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008217/0.5099, allocations: 476.3 kB / 0.6821 GB, free: 55.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.5102, allocations: 153.3 kB / 0.6823 GB, free: 55.79 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.745e-05/0.5102, allocations: 31.66 kB / 0.6823 GB, free: 55.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004912/0.5107, allocations: 478.5 kB / 0.6828 GB, free: 55.58 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 3.858e-06/0.5107, allocations: 3.188 kB / 0.6828 GB, free: 55.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.001703/0.5124, allocations: 0.788 MB / 0.6835 GB, free: 55.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.627e-05/0.5125, allocations: 191.6 kB / 0.6837 GB, free: 55.26 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005276/0.513, allocations: 0.5878 MB / 0.6843 GB, free: 55.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/0.5131, allocations: 44.42 kB / 0.6843 GB, free: 55.04 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.5133, allocations: 455.8 kB / 0.6848 GB, free: 54.83 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.5134, allocations: 263.4 kB / 0.685 GB, free: 54.69 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.5136, allocations: 170.3 kB / 0.6852 GB, free: 54.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.5137, allocations: 0.5612 MB / 0.6857 GB, free: 54.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.5139, allocations: 125.9 kB / 0.6858 GB, free: 54.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.5143, allocations: 376.8 kB / 0.6862 GB, free: 53.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.5147, allocations: 372.6 kB / 0.6866 GB, free: 53.86 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.5147, allocations: 0 / 0.6866 GB, free: 53.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001055/0.5158, allocations: 0.624 MB / 0.6872 GB, free: 53.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.5158, allocations: 5.469 kB / 0.6872 GB, free: 53.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.5158, allocations: 0.7812 kB / 0.6872 GB, free: 53.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005091/0.5163, allocations: 136 kB / 0.6873 GB, free: 53.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.5167, allocations: 155.5 kB / 0.6874 GB, free: 53.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.518, allocations: 1.906 MB / 0.6893 GB, free: 51.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003343/0.5184, allocations: 68.56 kB / 0.6894 GB, free: 51.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/0.5184, allocations: 37.31 kB / 0.6894 GB, free: 51.97 MB / 0.6355 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.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 (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.0002118/0.5186, allocations: 214.7 kB / 0.6896 GB, free: 51.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.5187, allocations: 109.7 kB / 0.6897 GB, free: 51.76 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.5199, allocations: 0.8022 MB / 0.6905 GB, free: 51.67 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.5199, allocations: 9.625 kB / 0.6905 GB, free: 51.67 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.5199, allocations: 0 / 0.6905 GB, free: 51.67 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.5199, allocations: 10.41 kB / 0.6905 GB, free: 51.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000546/0.5205, allocations: 0.5827 MB / 0.6911 GB, free: 51.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.5205, allocations: 2.906 kB / 0.6911 GB, free: 51.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/0.5208, allocations: 139 kB / 0.6912 GB, free: 51.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003796/0.5212, allocations: 116.6 kB / 0.6913 GB, free: 51.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.022e-05/0.5212, allocations: 23.44 kB / 0.6914 GB, free: 51.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.5223, allocations: 1.924 MB / 0.6932 GB, free: 49.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5223, allocations: 4.5 kB / 0.6932 GB, free: 49.74 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.5233, allocations: 0.7202 MB / 0.6939 GB, free: 49.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.5235, allocations: 194 kB / 0.6941 GB, free: 49.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.543e-05/0.5236, allocations: 20.66 kB / 0.6942 GB, free: 49.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.5238, allocations: 46.98 kB / 0.6942 GB, free: 49.53 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.524, allocations: 75.02 kB / 0.6943 GB, free: 49.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/0.524, allocations: 31.84 kB / 0.6943 GB, free: 49.53 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003085/0.5243, allocations: 400.6 kB / 0.6947 GB, free: 49.39 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.5243, allocations: 0 / 0.6947 GB, free: 49.39 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007094/0.525, allocations: 333.2 kB / 0.695 GB, free: 49.37 MB / 0.6355 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.001393/0.5264, allocations: 0.6206 MB / 0.6956 GB, free: 49.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009075/0.5273, allocations: 0.6343 MB / 0.6962 GB, free: 49.04 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5273, allocations: 0.6562 kB / 0.6962 GB, free: 49.04 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004401/0.5278, allocations: 464.3 kB / 0.6967 GB, free: 48.85 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007139/0.5285, allocations: 318.4 kB / 0.697 GB, free: 48.83 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.531, allocations: 1.535 MB / 0.6985 GB, free: 48.13 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.5311, allocations: 191.8 kB / 0.6987 GB, free: 48.05 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005175/0.5317, allocations: 248.9 kB / 0.6989 GB, free: 48.01 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.5319, allocations: 113.7 kB / 0.699 GB, free: 48 MB / 0.6355 GB Notification: Performance of SimCode: time 1.193e-06/0.5319, allocations: 0 / 0.699 GB, free: 48 MB / 0.6355 GB Notification: Performance of Templates: time 0.02209/0.5539, allocations: 15.21 MB / 0.7138 GB, free: 46.59 MB / 0.6355 GB " [Timeout remaining time 659] 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: 5.062589451204985]