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.001233/0.001233, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001218/0.001218, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9786/0.9786, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.001629/0.001629, allocations: 241.8 kB / 260.5 MB, free: 12.65 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.7655/0.7655, allocations: 138.4 MB / 455.5 MB, free: 1.434 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.853e-06/1.853e-06, allocations: 0 / 0.5556 GB, free: 304 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.812e-05, allocations: 9.625 kB / 0.5556 GB, free: 296 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.004981/0.005009, allocations: 4.992 MB / 0.5605 GB, free: 11.27 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3946/0.3996, allocations: 143.9 MB / 0.701 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008432/0.4005, allocations: 23.81 kB / 0.701 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.00058/0.4011, allocations: 212.6 kB / 0.7012 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.4025, allocations: 0.6032 MB / 0.7018 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.404, allocations: 0.8769 MB / 0.7027 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0011/0.4051, allocations: 1.509 MB / 0.7041 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005089/0.4057, allocations: 410.7 kB / 0.7045 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007386/0.4064, allocations: 0.7952 MB / 0.7053 GB, free: 2.867 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003886/0.4068, allocations: 386.8 kB / 0.7057 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.4069, allocations: 116 kB / 0.7058 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009237/0.4078, allocations: 497.4 kB / 0.7063 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.408, allocations: 302.9 kB / 0.7065 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002481/0.4082, allocations: 387 kB / 0.7069 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.4094, allocations: 1.269 MB / 0.7081 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4094, allocations: 0 / 0.7081 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4094, allocations: 0 / 0.7081 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.419e-05/0.4094, allocations: 0 / 0.7081 GB, free: 15.95 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.001606/0.411, allocations: 1.568 MB / 0.7097 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4111, allocations: 8.75 kB / 0.7097 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007976/0.4119, allocations: 327.6 kB / 0.71 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007069/0.4126, allocations: 0.7188 MB / 0.7107 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.388e-05/0.4126, allocations: 66.56 kB / 0.7108 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.504e-05/0.4127, allocations: 95.94 kB / 0.7109 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007628/0.4135, allocations: 0.8929 MB / 0.7117 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.4135, allocations: 3.938 kB / 0.7117 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.972e-05/0.4135, allocations: 40 kB / 0.7118 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.4136, allocations: 20 kB / 0.7118 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000647/0.4142, allocations: 0.6962 MB / 0.7125 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.4163, allocations: 2.131 MB / 0.7146 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005918/0.4169, allocations: 472.5 kB / 0.715 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.4171, allocations: 161.5 kB / 0.7152 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.588e-05/0.4171, allocations: 49.77 kB / 0.7152 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003794/0.4175, allocations: 458.4 kB / 0.7156 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=85): time 1.873e-06/0.4175, allocations: 7.938 kB / 0.7156 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85): time 0.001255/0.4188, allocations: 0.7605 MB / 0.7164 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.4189, allocations: 188.9 kB / 0.7166 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003887/0.4192, allocations: 0.5812 MB / 0.7171 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.4193, allocations: 49.7 kB / 0.7172 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.4195, allocations: 479.6 kB / 0.7176 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.4197, allocations: 285.6 kB / 0.7179 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.4198, allocations: 180.1 kB / 0.7181 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.42, allocations: 0.574 MB / 0.7186 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.4201, allocations: 102.7 kB / 0.7187 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.4204, allocations: 341.7 kB / 0.7191 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.4207, allocations: 334.5 kB / 0.7194 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.4207, allocations: 4 kB / 0.7194 GB, free: 4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0007606/0.4215, allocations: 0.5903 MB / 0.72 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4215, allocations: 8 kB / 0.72 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4215, allocations: 4.969 kB / 0.72 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003923/0.4219, allocations: 123.6 kB / 0.7201 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/0.4222, allocations: 171.7 kB / 0.7203 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.4235, allocations: 1.88 MB / 0.7221 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.4237, allocations: 75.59 kB / 0.7222 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.4238, allocations: 28.16 kB / 0.7222 GB, free: 1 MB / 0.5261 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0002079/0.424, allocations: 210.4 kB / 0.7224 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.4241, allocations: 115.4 kB / 0.7225 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009872/0.4251, allocations: 0.7804 MB / 0.7233 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.4251, allocations: 11.94 kB / 0.7233 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.4251, allocations: 0.5 kB / 0.7233 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.4251, allocations: 3.984 kB / 0.7233 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005211/0.4256, allocations: 0.499 MB / 0.7238 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4256, allocations: 0 / 0.7238 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/0.4259, allocations: 156.4 kB / 0.7239 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003204/0.4263, allocations: 123.5 kB / 0.724 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.4263, allocations: 27.98 kB / 0.7241 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.4274, allocations: 1.882 MB / 0.7259 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4274, allocations: 4 kB / 0.7259 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009691/0.4283, allocations: 0.8267 MB / 0.7267 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/0.4286, allocations: 199 kB / 0.7269 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.272e-05/0.4286, allocations: 23.94 kB / 0.7269 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.4288, allocations: 35.97 kB / 0.727 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.371e-05/0.4289, allocations: 76.89 kB / 0.727 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/0.429, allocations: 28.86 kB / 0.7271 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002262/0.4292, allocations: 374.8 kB / 0.7274 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.4292, allocations: 0 / 0.7274 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006644/0.4299, allocations: 343.1 kB / 0.7278 GB, free: 11.12 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.001207/0.4311, allocations: 0.6305 MB / 0.7284 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007008/0.4318, allocations: 0.6007 MB / 0.729 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4318, allocations: 0 / 0.729 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003737/0.4322, allocations: 453 kB / 0.7294 GB, free: 9.641 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000651/0.4328, allocations: 318.9 kB / 0.7297 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.4351, allocations: 1.663 MB / 0.7313 GB, free: 7.656 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.4352, allocations: 199.7 kB / 0.7315 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004319/0.4357, allocations: 198.5 kB / 0.7317 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005352/0.4362, allocations: 369.9 kB / 0.732 GB, free: 6.887 MB / 0.5417 GB Notification: Performance of SimCode: time 1.523e-06/0.4362, allocations: 0 / 0.732 GB, free: 6.887 MB / 0.5417 GB Notification: Performance of Templates: time 0.01945/0.4557, allocations: 16.71 MB / 0.7484 GB, free: 6.465 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.566510943695903]