Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001003/0.001003, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001017/0.001017, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.038/1.038, allocations: 177.1 MB / 204.5 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.002385/0.002385, allocations: 245.5 kB / 261.3 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.7268/0.7268, allocations: 138.4 MB / 456.3 MB, free: 1.363 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.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.5563 GB, free: 260 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.596e-05, allocations: 2.312 kB / 0.5563 GB, free: 256 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006577/0.006593, allocations: 4.712 MB / 0.5609 GB, free: 11.51 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3689/0.3754, allocations: 143.8 MB / 0.7014 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007356/0.3762, allocations: 19.88 kB / 0.7014 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.3767, allocations: 202.1 kB / 0.7016 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.3779, allocations: 0.5747 MB / 0.7022 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.3792, allocations: 0.8596 MB / 0.703 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0009625/0.3801, allocations: 1.42 MB / 0.7044 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004834/0.3806, allocations: 392.4 kB / 0.7048 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007275/0.3814, allocations: 0.7601 MB / 0.7055 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003186/0.3817, allocations: 363.4 kB / 0.7058 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 8.745e-05/0.3818, allocations: 108 kB / 0.7059 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006021/0.3824, allocations: 485.1 kB / 0.7064 GB, free: 2.406 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.3825, allocations: 287 kB / 0.7067 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.3827, allocations: 359 kB / 0.707 GB, free: 1.773 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000996/0.3837, allocations: 1.222 MB / 0.7082 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3837, allocations: 0 / 0.7082 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3837, allocations: 0 / 0.7082 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.3837, allocations: 4 kB / 0.7082 GB, free: 0.543 MB / 0.5105 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.001472/0.3852, allocations: 1.5 MB / 0.7097 GB, free: 15 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.3852, allocations: 8.75 kB / 0.7097 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008263/0.3861, allocations: 315.6 kB / 0.71 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007282/0.3868, allocations: 0.7071 MB / 0.7107 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/0.3868, allocations: 65 kB / 0.7107 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-05/0.3869, allocations: 84 kB / 0.7108 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000769/0.3877, allocations: 0.8653 MB / 0.7117 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.3877, allocations: 3.938 kB / 0.7117 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/0.3877, allocations: 40 kB / 0.7117 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.3878, allocations: 20 kB / 0.7117 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006784/0.3884, allocations: 0.665 MB / 0.7124 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/0.3906, allocations: 2.178 MB / 0.7145 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005525/0.3911, allocations: 413.6 kB / 0.7149 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.3913, allocations: 137.5 kB / 0.715 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.694e-05/0.3914, allocations: 32.62 kB / 0.7151 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004006/0.3918, allocations: 452.4 kB / 0.7155 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=78): time 1.844e-06/0.3918, allocations: 0 / 0.7155 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.001341/0.3931, allocations: 0.7092 MB / 0.7162 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.048e-05/0.3932, allocations: 192.6 kB / 0.7164 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004189/0.3936, allocations: 0.5656 MB / 0.7169 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.652e-05/0.3937, allocations: 41.7 kB / 0.717 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.3939, allocations: 463.5 kB / 0.7174 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.3941, allocations: 273.7 kB / 0.7177 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.3943, allocations: 172.2 kB / 0.7178 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.3945, allocations: 0.5662 MB / 0.7184 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.3946, allocations: 97.91 kB / 0.7185 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.3948, allocations: 345.4 kB / 0.7188 GB, free: 5.262 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/0.3952, allocations: 316.8 kB / 0.7191 GB, free: 4.934 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3952, allocations: 4 kB / 0.7191 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008401/0.3961, allocations: 0.5669 MB / 0.7197 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3961, allocations: 4 kB / 0.7197 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.3961, allocations: 4 kB / 0.7197 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004598/0.3965, allocations: 127.7 kB / 0.7198 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.3969, allocations: 155.8 kB / 0.7199 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.3982, allocations: 1.867 MB / 0.7218 GB, free: 2.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.3985, allocations: 73.64 kB / 0.7218 GB, free: 2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.403e-05/0.3985, allocations: 31.97 kB / 0.7219 GB, free: 1.969 MB / 0.5261 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.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 (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.000195/0.3987, allocations: 205.6 kB / 0.7221 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.3988, allocations: 119.4 kB / 0.7222 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.3998, allocations: 0.7492 MB / 0.7229 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.3998, allocations: 8 kB / 0.7229 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.3998, allocations: 0 / 0.7229 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.3999, allocations: 3.984 kB / 0.7229 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005037/0.4004, allocations: 490.5 kB / 0.7234 GB, free: 380 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4004, allocations: 0 / 0.7234 GB, free: 380 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.4006, allocations: 139.8 kB / 0.7235 GB, free: 240 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003575/0.401, allocations: 115.5 kB / 0.7236 GB, free: 120 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-05/0.401, allocations: 27.97 kB / 0.7237 GB, free: 92 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.4022, allocations: 1.895 MB / 0.7255 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.4022, allocations: 3 kB / 0.7255 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008355/0.4031, allocations: 0.6687 MB / 0.7262 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/0.4033, allocations: 183.2 kB / 0.7263 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.362e-05/0.4034, allocations: 19.94 kB / 0.7264 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.4036, allocations: 39.97 kB / 0.7264 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.456e-05/0.4037, allocations: 64.88 kB / 0.7265 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.195e-05/0.4037, allocations: 31.97 kB / 0.7265 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002367/0.404, allocations: 362.9 kB / 0.7268 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.404, allocations: 4 kB / 0.7268 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006008/0.4046, allocations: 331.1 kB / 0.7272 GB, free: 12.37 MB / 0.5417 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.001296/0.4058, allocations: 0.6155 MB / 0.7278 GB, free: 12 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006916/0.4065, allocations: 0.5736 MB / 0.7283 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4065, allocations: 0 / 0.7283 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003854/0.4069, allocations: 437.2 kB / 0.7287 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006667/0.4076, allocations: 328.6 kB / 0.729 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.4097, allocations: 1.505 MB / 0.7305 GB, free: 9.141 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.4098, allocations: 195.2 kB / 0.7307 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000397/0.4102, allocations: 189.1 kB / 0.7309 GB, free: 8.746 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000536/0.4107, allocations: 361.9 kB / 0.7312 GB, free: 8.391 MB / 0.5417 GB Notification: Performance of SimCode: time 7.51e-07/0.4107, allocations: 0 / 0.7312 GB, free: 8.391 MB / 0.5417 GB Notification: Performance of Templates: time 0.02099/0.4317, allocations: 16.48 MB / 0.7473 GB, free: 8.188 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.623807787895203]