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.001685/0.001685, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.002067/0.002067, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9986/0.9986, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.00177/0.00177, allocations: 237.1 kB / 260.5 MB, free: 12.9 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.7682/0.7682, allocations: 138.4 MB / 455.4 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.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.282e-06/1.282e-06, allocations: 0 / 0.555 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.264e-05/1.393e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.01158/0.01159, allocations: 4.973 MB / 0.5599 GB, free: 11.9 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3722/0.3838, allocations: 146.3 MB / 0.7028 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008363/0.3846, allocations: 23.81 kB / 0.7028 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005376/0.3852, allocations: 208.7 kB / 0.703 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.3865, allocations: 0.5889 MB / 0.7036 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.3879, allocations: 0.86 MB / 0.7044 GB, free: 4.012 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0008554/0.3887, allocations: 1.482 MB / 0.7058 GB, free: 2.523 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004767/0.3892, allocations: 402.2 kB / 0.7062 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005516/0.3897, allocations: 0.7484 MB / 0.707 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003184/0.3901, allocations: 410.8 kB / 0.7074 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 8.704e-05/0.3901, allocations: 120 kB / 0.7075 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005419/0.3907, allocations: 0.4897 MB / 0.7079 GB, free: 364 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.3908, allocations: 311 kB / 0.7082 GB, free: 52 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000295/0.3911, allocations: 398.9 kB / 0.7086 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.3924, allocations: 1.28 MB / 0.7099 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3924, allocations: 0 / 0.7099 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3924, allocations: 0 / 0.7099 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.748e-05/0.3924, allocations: 0 / 0.7099 GB, free: 14.38 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.001745/0.3942, allocations: 1.541 MB / 0.7114 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3942, allocations: 8.75 kB / 0.7114 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009639/0.3952, allocations: 323.6 kB / 0.7117 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008615/0.3961, allocations: 0.7325 MB / 0.7124 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/0.3961, allocations: 62.56 kB / 0.7125 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.94e-05/0.3962, allocations: 91.94 kB / 0.7126 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.3972, allocations: 1.009 MB / 0.7135 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.3972, allocations: 4 kB / 0.7135 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.519e-05/0.3973, allocations: 36 kB / 0.7136 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.3973, allocations: 23.98 kB / 0.7136 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009236/0.3982, allocations: 0.8035 MB / 0.7144 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.4006, allocations: 2.241 MB / 0.7166 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007581/0.4014, allocations: 499.6 kB / 0.7171 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.4016, allocations: 167.4 kB / 0.7172 GB, free: 6.605 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.255e-05/0.4016, allocations: 32.62 kB / 0.7172 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004884/0.4021, allocations: 485.3 kB / 0.7177 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=82): time 2.164e-06/0.4021, allocations: 0 / 0.7177 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.001569/0.4037, allocations: 0.8132 MB / 0.7185 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/0.4038, allocations: 188.6 kB / 0.7187 GB, free: 5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004802/0.4043, allocations: 0.5927 MB / 0.7193 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/0.4043, allocations: 45.7 kB / 0.7193 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.4046, allocations: 471.7 kB / 0.7198 GB, free: 3.879 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.4047, allocations: 281.6 kB / 0.72 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.4049, allocations: 176.2 kB / 0.7202 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.405, allocations: 0.5625 MB / 0.7207 GB, free: 2.848 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.4053, allocations: 129.9 kB / 0.7209 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/0.4056, allocations: 373.7 kB / 0.7212 GB, free: 2.305 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004944/0.4061, allocations: 373.3 kB / 0.7216 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4061, allocations: 0 / 0.7216 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00095/0.407, allocations: 0.6333 MB / 0.7222 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4071, allocations: 8 kB / 0.7222 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4071, allocations: 3.984 kB / 0.7222 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004588/0.4075, allocations: 127.7 kB / 0.7223 GB, free: 1.137 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.4079, allocations: 167.7 kB / 0.7225 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.4092, allocations: 1.909 MB / 0.7243 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.4095, allocations: 71.67 kB / 0.7244 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/0.4095, allocations: 31.97 kB / 0.7244 GB, free: 14.84 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.0001997/0.4097, allocations: 210.4 kB / 0.7246 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.4099, allocations: 119.4 kB / 0.7248 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.411, allocations: 0.8313 MB / 0.7256 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.411, allocations: 12 kB / 0.7256 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.411, allocations: 0 / 0.7256 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.411, allocations: 3.984 kB / 0.7256 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005696/0.4116, allocations: 0.6031 MB / 0.7262 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.4116, allocations: 0 / 0.7262 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.4119, allocations: 147.8 kB / 0.7263 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003461/0.4123, allocations: 123.5 kB / 0.7264 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/0.4123, allocations: 23.98 kB / 0.7265 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.4135, allocations: 1.917 MB / 0.7283 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.4135, allocations: 3.938 kB / 0.7283 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.4148, allocations: 0.905 MB / 0.7292 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/0.415, allocations: 203 kB / 0.7294 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.432e-05/0.4151, allocations: 20 kB / 0.7294 GB, free: 9.527 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.4153, allocations: 46.59 kB / 0.7295 GB, free: 9.484 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.4155, allocations: 72.86 kB / 0.7295 GB, free: 9.414 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.702e-05/0.4155, allocations: 39.97 kB / 0.7296 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003297/0.4158, allocations: 407 kB / 0.73 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.4158, allocations: 0 / 0.73 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006279/0.4165, allocations: 339.1 kB / 0.7303 GB, free: 8.648 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.00129/0.4177, allocations: 0.6272 MB / 0.7309 GB, free: 8.266 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009746/0.4187, allocations: 0.6478 MB / 0.7315 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4187, allocations: 4.188 kB / 0.7315 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004696/0.4192, allocations: 473.1 kB / 0.732 GB, free: 7.113 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006854/0.4199, allocations: 331 kB / 0.7323 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.4224, allocations: 1.622 MB / 0.7339 GB, free: 5.176 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.4225, allocations: 199.2 kB / 0.7341 GB, free: 4.957 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000461/0.4229, allocations: 250.6 kB / 0.7343 GB, free: 4.707 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.4231, allocations: 112.4 kB / 0.7344 GB, free: 4.598 MB / 0.5417 GB Notification: Performance of SimCode: time 2.935e-06/0.4231, allocations: 0 / 0.7344 GB, free: 4.598 MB / 0.5417 GB Notification: Performance of Templates: time 0.01966/0.4428, allocations: 15.49 MB / 0.7496 GB, free: 5.371 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.6343822199851274]