Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.002423/0.002423, allocations: 93.47 kB / 19.44 MB, free: 336 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.002138/0.002138, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.623/1.623, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.003297/0.003297, allocations: 223.2 kB / 259.8 MB, free: 12.85 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 1.247/1.247, allocations: 138.4 MB / 454.7 MB, free: 1.5 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.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.5543 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.119e-05/3.331e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.008356/0.008389, allocations: 4.927 MB / 0.5591 GB, free: 11.96 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3831/0.3915, allocations: 146.3 MB / 0.702 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009355/0.3924, allocations: 27.81 kB / 0.702 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0007652/0.3932, allocations: 198.2 kB / 0.7022 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.395, allocations: 0.5868 MB / 0.7028 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.3968, allocations: 0.867 MB / 0.7036 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001283/0.3981, allocations: 1.482 MB / 0.7051 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006185/0.3987, allocations: 409 kB / 0.7055 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008335/0.3996, allocations: 0.7406 MB / 0.7062 GB, free: 1.484 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004367/0.4, allocations: 410.8 kB / 0.7066 GB, free: 1.082 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.4001, allocations: 120 kB / 0.7067 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007596/0.4009, allocations: 0.4884 MB / 0.7072 GB, free: 492 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001849/0.4011, allocations: 315 kB / 0.7075 GB, free: 176 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004386/0.4015, allocations: 403 kB / 0.7079 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.404, allocations: 1.807 MB / 0.7096 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.404, allocations: 0 / 0.7096 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.002e-06/0.404, allocations: 0 / 0.7096 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.404, allocations: 0 / 0.7096 GB, free: 13.96 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003674/0.4077, allocations: 1.616 MB / 0.7112 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.4077, allocations: 8.75 kB / 0.7112 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/0.4094, allocations: 331.6 kB / 0.7115 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.411, allocations: 0.7442 MB / 0.7123 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.034e-05/0.4111, allocations: 62.56 kB / 0.7123 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.4112, allocations: 95.89 kB / 0.7124 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.4132, allocations: 1.227 MB / 0.7136 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.4132, allocations: 0 / 0.7136 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.112e-05/0.4133, allocations: 36 kB / 0.7136 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.4133, allocations: 24 kB / 0.7137 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/0.4152, allocations: 1.03 MB / 0.7147 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004895/0.4201, allocations: 2.945 MB / 0.7175 GB, free: 5.57 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.4216, allocations: 0.6942 MB / 0.7182 GB, free: 4.871 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005053/0.4221, allocations: 249.9 kB / 0.7185 GB, free: 4.621 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.54e-05/0.4222, allocations: 28.64 kB / 0.7185 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001111/0.4233, allocations: 0.5995 MB / 0.7191 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=82): time 2.695e-06/0.4233, allocations: 0 / 0.7191 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.003327/0.4266, allocations: 1.051 MB / 0.7201 GB, free: 2.883 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/0.4268, allocations: 192.6 kB / 0.7203 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.4279, allocations: 0.7652 MB / 0.721 GB, free: 1.875 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.406e-05/0.4279, allocations: 41.7 kB / 0.7211 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004907/0.4284, allocations: 0.4919 MB / 0.7215 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003087/0.4287, allocations: 305.5 kB / 0.7218 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003242/0.4291, allocations: 196.2 kB / 0.722 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004057/0.4295, allocations: 0.6133 MB / 0.7226 GB, free: 204 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005027/0.43, allocations: 221.9 kB / 0.7228 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007513/0.4307, allocations: 489.7 kB / 0.7233 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.4318, allocations: 0.5363 MB / 0.7238 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.4318, allocations: 4.672 kB / 0.7238 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002099/0.4339, allocations: 0.8129 MB / 0.7246 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.434, allocations: 4 kB / 0.7246 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.434, allocations: 0 / 0.7246 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.435, allocations: 139.7 kB / 0.7248 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/0.4357, allocations: 159.8 kB / 0.7249 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00289/0.4386, allocations: 2.038 MB / 0.7269 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006427/0.4392, allocations: 76.22 kB / 0.727 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.8e-05/0.4393, allocations: 35.97 kB / 0.727 GB, free: 11.5 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 (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.0004806/0.4398, allocations: 282.4 kB / 0.7273 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/0.44, allocations: 115.6 kB / 0.7274 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002474/0.4425, allocations: 0.9876 MB / 0.7284 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.4425, allocations: 12 kB / 0.7284 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.4425, allocations: 4 kB / 0.7284 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.4425, allocations: 7.969 kB / 0.7284 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.4437, allocations: 0.78 MB / 0.7291 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.4437, allocations: 0 / 0.7291 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006457/0.4444, allocations: 147.8 kB / 0.7293 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007814/0.4452, allocations: 127.6 kB / 0.7294 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.859e-05/0.4452, allocations: 23.98 kB / 0.7294 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/0.4477, allocations: 2.073 MB / 0.7314 GB, free: 6.785 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4477, allocations: 0 / 0.7314 GB, free: 6.785 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002744/0.4504, allocations: 1.245 MB / 0.7327 GB, free: 5.512 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005639/0.451, allocations: 191.1 kB / 0.7328 GB, free: 5.324 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.4511, allocations: 27.98 kB / 0.7329 GB, free: 5.297 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000524/0.4516, allocations: 40.95 kB / 0.7329 GB, free: 5.258 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.4518, allocations: 72.86 kB / 0.733 GB, free: 5.188 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-05/0.4519, allocations: 35.97 kB / 0.733 GB, free: 5.152 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006879/0.4526, allocations: 0.4912 MB / 0.7335 GB, free: 4.664 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.4526, allocations: 0 / 0.7335 GB, free: 4.664 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0009632/0.4535, allocations: 347.2 kB / 0.7338 GB, free: 4.324 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 (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.003433/0.457, allocations: 0.6524 MB / 0.7345 GB, free: 3.938 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001858/0.4588, allocations: 0.8433 MB / 0.7353 GB, free: 3.074 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.4588, allocations: 4 kB / 0.7353 GB, free: 3.07 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.4599, allocations: 0.5596 MB / 0.7358 GB, free: 2.488 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.4612, allocations: 334.9 kB / 0.7362 GB, free: 2.207 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003353/0.4646, allocations: 1.714 MB / 0.7378 GB, free: 472 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005245/0.4651, allocations: 444.6 kB / 0.7383 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007384/0.4658, allocations: 250.6 kB / 0.7385 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.4661, allocations: 108.4 kB / 0.7386 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of SimCode: time 9.82e-07/0.4661, allocations: 0 / 0.7386 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of Templates: time 0.02989/0.496, allocations: 15.48 MB / 0.7537 GB, free: 440 kB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.121585251064971]