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.001509/0.001509, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001695/0.001695, allocations: 170 kB / 23.27 MB, free: 1.223 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.975/0.975, allocations: 177.2 MB / 203.7 MB, free: 5.512 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: 233 kB / 260.5 MB, free: 12.67 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.8138/0.8138, allocations: 138.4 MB / 455.5 MB, free: 30.02 MB / 410.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 1.633e-06/1.633e-06, allocations: 0 / 0.5555 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.66e-05, allocations: 6.312 kB / 0.5555 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.008177/0.008204, allocations: 4.903 MB / 0.5603 GB, free: 10.99 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3865/0.3947, allocations: 143.9 MB / 0.7008 GB, free: 52.36 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008928/0.3956, allocations: 23.81 kB / 0.7009 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005641/0.3962, allocations: 207.7 kB / 0.7011 GB, free: 52.23 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.3978, allocations: 0.5981 MB / 0.7016 GB, free: 52.05 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.3997, allocations: 0.8655 MB / 0.7025 GB, free: 51.97 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001896/0.4015, allocations: 1.479 MB / 0.7039 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007728/0.4023, allocations: 402 kB / 0.7043 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.4036, allocations: 0.7829 MB / 0.7051 GB, free: 51.54 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005058/0.4041, allocations: 386.3 kB / 0.7054 GB, free: 51.49 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001607/0.4042, allocations: 109.2 kB / 0.7055 GB, free: 51.49 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.4053, allocations: 486.2 kB / 0.706 GB, free: 51.48 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.4055, allocations: 293.1 kB / 0.7063 GB, free: 51.43 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003376/0.4059, allocations: 388.6 kB / 0.7067 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.4075, allocations: 1.251 MB / 0.7079 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4075, allocations: 0 / 0.7079 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4075, allocations: 0 / 0.7079 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.538e-05/0.4075, allocations: 0 / 0.7079 GB, free: 50.75 MB / 0.5573 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.001712/0.4092, allocations: 1.536 MB / 0.7094 GB, free: 49.75 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/0.4093, allocations: 11.53 kB / 0.7094 GB, free: 49.75 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009503/0.4102, allocations: 328.6 kB / 0.7097 GB, free: 49.62 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008187/0.4111, allocations: 0.7091 MB / 0.7104 GB, free: 49.21 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.217e-05/0.4111, allocations: 66.97 kB / 0.7105 GB, free: 49.18 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.4112, allocations: 90.5 kB / 0.7105 GB, free: 49.15 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008119/0.412, allocations: 0.8831 MB / 0.7114 GB, free: 48.63 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.412, allocations: 0 / 0.7114 GB, free: 48.63 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.751e-05/0.4121, allocations: 41.12 kB / 0.7114 GB, free: 48.6 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.4121, allocations: 20.59 kB / 0.7115 GB, free: 48.6 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006955/0.4128, allocations: 0.6911 MB / 0.7121 GB, free: 48.53 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/0.4149, allocations: 2.114 MB / 0.7142 GB, free: 47.23 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005384/0.4155, allocations: 433.7 kB / 0.7146 GB, free: 47.14 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.4156, allocations: 143.5 kB / 0.7148 GB, free: 47.11 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.273e-05/0.4157, allocations: 57.61 kB / 0.7148 GB, free: 47.09 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003836/0.4161, allocations: 459.7 kB / 0.7153 GB, free: 46.85 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=82): time 2.365e-06/0.4161, allocations: 0 / 0.7153 GB, free: 46.85 MB / 0.5573 GB Notification: Performance of matching and sorting (n=82): time 0.001283/0.4174, allocations: 0.734 MB / 0.716 GB, free: 46.67 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.4174, allocations: 192.9 kB / 0.7162 GB, free: 46.45 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003835/0.4178, allocations: 0.5611 MB / 0.7167 GB, free: 46.24 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.4178, allocations: 40.98 kB / 0.7167 GB, free: 46.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.418, allocations: 477.2 kB / 0.7172 GB, free: 45.84 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.4182, allocations: 280 kB / 0.7175 GB, free: 45.64 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.4183, allocations: 178.2 kB / 0.7176 GB, free: 45.57 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.4184, allocations: 0.5634 MB / 0.7182 GB, free: 45.07 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.4185, allocations: 101.4 kB / 0.7183 GB, free: 45.07 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.4187, allocations: 345.9 kB / 0.7186 GB, free: 44.84 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.419, allocations: 325.1 kB / 0.7189 GB, free: 44.71 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.419, allocations: 0 / 0.7189 GB, free: 44.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0007367/0.4198, allocations: 0.5796 MB / 0.7195 GB, free: 44.53 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4198, allocations: 5.281 kB / 0.7195 GB, free: 44.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4198, allocations: 0 / 0.7195 GB, free: 44.53 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004013/0.4202, allocations: 127.3 kB / 0.7196 GB, free: 44.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.4205, allocations: 167.8 kB / 0.7198 GB, free: 44.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.4216, allocations: 1.88 MB / 0.7216 GB, free: 42.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.4219, allocations: 73.47 kB / 0.7217 GB, free: 42.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.4219, allocations: 31.11 kB / 0.7217 GB, free: 42.64 MB / 0.5573 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 (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.0001734/0.4221, allocations: 215 kB / 0.7219 GB, free: 42.44 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.4222, allocations: 112.8 kB / 0.722 GB, free: 42.38 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009034/0.4231, allocations: 0.7532 MB / 0.7228 GB, free: 42.14 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.4231, allocations: 17.11 kB / 0.7228 GB, free: 42.14 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.4231, allocations: 4 kB / 0.7228 GB, free: 42.13 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.4231, allocations: 5.016 kB / 0.7228 GB, free: 42.13 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000472/0.4236, allocations: 489.8 kB / 0.7232 GB, free: 41.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.4236, allocations: 0 / 0.7232 GB, free: 41.92 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002942/0.4239, allocations: 154.4 kB / 0.7234 GB, free: 41.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003155/0.4242, allocations: 118.3 kB / 0.7235 GB, free: 41.88 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.4243, allocations: 29.14 kB / 0.7235 GB, free: 41.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007792/0.425, allocations: 1.889 MB / 0.7254 GB, free: 40.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.425, allocations: 0 / 0.7254 GB, free: 40.06 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008915/0.4259, allocations: 0.8096 MB / 0.7262 GB, free: 39.79 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.4261, allocations: 187 kB / 0.7263 GB, free: 39.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/0.4262, allocations: 23.8 kB / 0.7264 GB, free: 39.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.4264, allocations: 38.02 kB / 0.7264 GB, free: 39.66 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/0.4265, allocations: 71.59 kB / 0.7265 GB, free: 39.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.4265, allocations: 30.03 kB / 0.7265 GB, free: 39.64 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002164/0.4267, allocations: 368.9 kB / 0.7269 GB, free: 39.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4267, allocations: 0 / 0.7269 GB, free: 39.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00073/0.4275, allocations: 343 kB / 0.7272 GB, free: 39.4 MB / 0.5573 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.001221/0.4287, allocations: 0.6245 MB / 0.7278 GB, free: 39.19 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006979/0.4294, allocations: 0.59 MB / 0.7284 GB, free: 38.95 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4294, allocations: 2.875 kB / 0.7284 GB, free: 38.95 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.4297, allocations: 439.2 kB / 0.7288 GB, free: 38.74 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006769/0.4304, allocations: 343.6 kB / 0.7291 GB, free: 38.62 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.4327, allocations: 1.588 MB / 0.7307 GB, free: 37.77 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.4328, allocations: 196.1 kB / 0.7309 GB, free: 37.69 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004332/0.4332, allocations: 184.9 kB / 0.731 GB, free: 37.62 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005319/0.4338, allocations: 367.6 kB / 0.7314 GB, free: 37.54 MB / 0.5573 GB Notification: Performance of SimCode: time 2.024e-06/0.4338, allocations: 0 / 0.7314 GB, free: 37.54 MB / 0.5573 GB Notification: Performance of Templates: time 0.01962/0.4534, allocations: 16.55 MB / 0.7475 GB, free: 29.07 MB / 0.5573 GB " [Timeout remaining time 660] 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: 4.71564607322216]