Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009585/0.0009585, 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.001379/0.001379, allocations: 173.3 kB / 23.03 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 0.9438/0.9438, allocations: 177.2 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001856/0.001856, allocations: 236 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6942/0.6942, allocations: 138.4 MB / 455.2 MB, free: 1.52 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.5551 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.214e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.009262/0.009284, allocations: 5.125 MB / 0.5601 GB, free: 11.36 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3722/0.3815, allocations: 146.6 MB / 0.7033 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009572/0.3825, allocations: 23.81 kB / 0.7033 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005525/0.383, allocations: 213 kB / 0.7035 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.3844, allocations: 0.604 MB / 0.7041 GB, free: 4.203 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.3859, allocations: 0.8758 MB / 0.7049 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001303/0.3872, allocations: 1.505 MB / 0.7064 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006527/0.3879, allocations: 406.8 kB / 0.7068 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008114/0.3887, allocations: 0.7952 MB / 0.7076 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003666/0.3891, allocations: 394.8 kB / 0.708 GB, free: 244 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.902e-05/0.3892, allocations: 112 kB / 0.7081 GB, free: 132 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007992/0.39, allocations: 493.3 kB / 0.7085 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.3902, allocations: 302.9 kB / 0.7088 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003668/0.3906, allocations: 390.9 kB / 0.7092 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.3921, allocations: 1.265 MB / 0.7104 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3921, allocations: 0 / 0.7104 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3921, allocations: 0 / 0.7104 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.361e-05/0.3921, allocations: 0 / 0.7104 GB, free: 13.7 MB / 0.5261 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.001866/0.394, allocations: 1.557 MB / 0.7119 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.394, allocations: 12.73 kB / 0.712 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008808/0.3949, allocations: 327.6 kB / 0.7123 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008856/0.3958, allocations: 0.7188 MB / 0.713 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/0.3959, allocations: 70.55 kB / 0.713 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.141e-05/0.3959, allocations: 91.94 kB / 0.7131 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000984/0.3969, allocations: 0.9555 MB / 0.7141 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.3969, allocations: 0 / 0.7141 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.989e-05/0.397, allocations: 36 kB / 0.7141 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.397, allocations: 23.94 kB / 0.7141 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008892/0.3979, allocations: 0.8036 MB / 0.7149 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/0.4003, allocations: 2.261 MB / 0.7171 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007882/0.4011, allocations: 0.4973 MB / 0.7176 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.4013, allocations: 189.5 kB / 0.7178 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.805e-05/0.4014, allocations: 32.62 kB / 0.7178 GB, free: 5.906 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000471/0.4019, allocations: 487.2 kB / 0.7183 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=85): time 2.255e-06/0.4019, allocations: 4 kB / 0.7183 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85): time 0.001481/0.4033, allocations: 0.8385 MB / 0.7191 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.4034, allocations: 192.9 kB / 0.7193 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004454/0.4039, allocations: 0.5932 MB / 0.7199 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/0.4039, allocations: 41.7 kB / 0.7199 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.4041, allocations: 475.8 kB / 0.7204 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.4043, allocations: 289.7 kB / 0.7206 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.4045, allocations: 180.2 kB / 0.7208 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.4046, allocations: 0.5664 MB / 0.7214 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.4048, allocations: 137.3 kB / 0.7215 GB, free: 2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/0.4052, allocations: 373.8 kB / 0.7218 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004689/0.4056, allocations: 382.6 kB / 0.7222 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.4056, allocations: 0 / 0.7222 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0009231/0.4066, allocations: 0.6528 MB / 0.7228 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.4066, allocations: 4.625 kB / 0.7228 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4066, allocations: 3.938 kB / 0.7229 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004521/0.407, allocations: 135.6 kB / 0.723 GB, free: 400 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/0.4074, allocations: 175.7 kB / 0.7231 GB, free: 224 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.4087, allocations: 1.899 MB / 0.725 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.409, allocations: 77.17 kB / 0.7251 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/0.4091, allocations: 35.98 kB / 0.7251 GB, free: 14.08 MB / 0.5417 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.0002126/0.4093, allocations: 214.4 kB / 0.7253 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.4094, allocations: 115.4 kB / 0.7254 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.4106, allocations: 0.836 MB / 0.7262 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.4106, allocations: 12 kB / 0.7263 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.4106, allocations: 0 / 0.7263 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.4106, allocations: 7.922 kB / 0.7263 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005528/0.4112, allocations: 0.604 MB / 0.7268 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.4112, allocations: 3.938 kB / 0.7269 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/0.4115, allocations: 155.8 kB / 0.727 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003489/0.4118, allocations: 115.6 kB / 0.7271 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-05/0.4119, allocations: 27.73 kB / 0.7271 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.4131, allocations: 1.925 MB / 0.729 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4131, allocations: 0 / 0.729 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.4143, allocations: 0.9205 MB / 0.7299 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002291/0.4145, allocations: 203 kB / 0.7301 GB, free: 8.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.891e-05/0.4146, allocations: 16 kB / 0.7301 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.4148, allocations: 36.91 kB / 0.7302 GB, free: 8.699 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.4149, allocations: 76.86 kB / 0.7302 GB, free: 8.621 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.415, allocations: 36.02 kB / 0.7303 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003109/0.4153, allocations: 402.9 kB / 0.7307 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.4153, allocations: 0 / 0.7307 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005958/0.4159, allocations: 347.1 kB / 0.731 GB, free: 7.859 MB / 0.5417 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.00128/0.4172, allocations: 0.6174 MB / 0.7316 GB, free: 7.48 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008724/0.418, allocations: 0.6593 MB / 0.7322 GB, free: 6.805 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.418, allocations: 8.188 kB / 0.7322 GB, free: 6.797 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00045/0.4185, allocations: 484.9 kB / 0.7327 GB, free: 6.305 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006666/0.4192, allocations: 327.9 kB / 0.733 GB, free: 6.023 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.4216, allocations: 1.68 MB / 0.7347 GB, free: 4.305 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.4217, allocations: 199.7 kB / 0.7348 GB, free: 4.094 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004561/0.4222, allocations: 246.8 kB / 0.7351 GB, free: 3.848 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.4224, allocations: 112.4 kB / 0.7352 GB, free: 3.738 MB / 0.5417 GB Notification: Performance of SimCode: time 1.142e-06/0.4224, allocations: 4 kB / 0.7352 GB, free: 3.734 MB / 0.5417 GB Notification: Performance of Templates: time 0.01917/0.4415, allocations: 16.37 MB / 0.7512 GB, free: 3.629 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.477779392618686]