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.001092/0.001092, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009585/0.0009585, allocations: 169 kB / 23.02 MB, free: 1.555 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.9901/0.9901, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.001766/0.001766, allocations: 234.2 kB / 260.2 MB, free: 12.82 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.744/0.744, allocations: 138.4 MB / 455.2 MB, free: 1.535 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.754e-06/1.754e-06, allocations: 0 / 0.5551 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.784e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.005488/0.005516, allocations: 5 MB / 0.56 GB, free: 11.53 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3745/0.38, allocations: 146.6 MB / 0.7031 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000821/0.3808, allocations: 23.81 kB / 0.7031 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005476/0.3814, allocations: 200.8 kB / 0.7033 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.3827, allocations: 0.5945 MB / 0.7039 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.3845, allocations: 0.863 MB / 0.7048 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001047/0.3855, allocations: 1.486 MB / 0.7062 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005456/0.3861, allocations: 402.2 kB / 0.7066 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006513/0.3867, allocations: 0.7406 MB / 0.7073 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004472/0.3872, allocations: 410.8 kB / 0.7077 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.3873, allocations: 120 kB / 0.7078 GB, free: 392 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008116/0.3881, allocations: 0.4973 MB / 0.7083 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002372/0.3883, allocations: 310.9 kB / 0.7086 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003281/0.3886, allocations: 403 kB / 0.709 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.3906, allocations: 1.281 MB / 0.7102 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3906, allocations: 0 / 0.7102 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3906, allocations: 0 / 0.7102 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.3906, allocations: 0 / 0.7102 GB, free: 13.91 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.001913/0.3925, allocations: 1.53 MB / 0.7117 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3925, allocations: 8.75 kB / 0.7117 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.3936, allocations: 323.6 kB / 0.712 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007752/0.3944, allocations: 0.7286 MB / 0.7128 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/0.3944, allocations: 73.98 kB / 0.7128 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.222e-05/0.3945, allocations: 95.92 kB / 0.7129 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009786/0.3955, allocations: 1.017 MB / 0.7139 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.3955, allocations: 0 / 0.7139 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.622e-05/0.3956, allocations: 40 kB / 0.7139 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.3956, allocations: 23.94 kB / 0.714 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008649/0.3964, allocations: 0.7919 MB / 0.7147 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002398/0.3988, allocations: 2.245 MB / 0.7169 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009366/0.3998, allocations: 498.3 kB / 0.7174 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.4001, allocations: 167.3 kB / 0.7176 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-05/0.4001, allocations: 32.62 kB / 0.7176 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005017/0.4006, allocations: 489.2 kB / 0.7181 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=82): time 2.134e-06/0.4006, allocations: 0 / 0.7181 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.001722/0.4024, allocations: 0.8054 MB / 0.7189 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.916e-05/0.4024, allocations: 192.6 kB / 0.719 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000534/0.403, allocations: 0.5971 MB / 0.7196 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/0.403, allocations: 45.7 kB / 0.7197 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.4033, allocations: 463.8 kB / 0.7201 GB, free: 3.414 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.4035, allocations: 281.6 kB / 0.7204 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.4036, allocations: 172.2 kB / 0.7205 GB, free: 2.961 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.4038, allocations: 0.5625 MB / 0.7211 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.404, allocations: 137.9 kB / 0.7212 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/0.4044, allocations: 369.8 kB / 0.7216 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004862/0.4048, allocations: 377.2 kB / 0.7219 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4048, allocations: 0 / 0.7219 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0009881/0.4058, allocations: 0.6333 MB / 0.7226 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.4059, allocations: 10.03 kB / 0.7226 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.4059, allocations: 0 / 0.7226 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00054/0.4064, allocations: 131.7 kB / 0.7227 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.4068, allocations: 159.8 kB / 0.7228 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.4087, allocations: 1.922 MB / 0.7247 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.409, allocations: 67.64 kB / 0.7248 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/0.4091, allocations: 31.98 kB / 0.7248 GB, free: 14.37 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.0002769/0.4094, allocations: 214.5 kB / 0.725 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.4095, allocations: 115.4 kB / 0.7251 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.4108, allocations: 0.8275 MB / 0.7259 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.066e-06/0.4108, allocations: 15.98 kB / 0.7259 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.4108, allocations: 4 kB / 0.726 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.4108, allocations: 3.984 kB / 0.726 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005943/0.4114, allocations: 0.5963 MB / 0.7265 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4114, allocations: 0 / 0.7265 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003308/0.4117, allocations: 151.8 kB / 0.7267 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000367/0.4121, allocations: 107.6 kB / 0.7268 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.4121, allocations: 35.91 kB / 0.7268 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.4133, allocations: 1.92 MB / 0.7287 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4133, allocations: 4 kB / 0.7287 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.4146, allocations: 0.905 MB / 0.7296 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002819/0.4149, allocations: 199 kB / 0.7298 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.78e-05/0.415, allocations: 20 kB / 0.7298 GB, free: 9.062 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.4152, allocations: 47.95 kB / 0.7298 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.4153, allocations: 72.86 kB / 0.7299 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/0.4154, allocations: 39.97 kB / 0.7299 GB, free: 8.906 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003455/0.4157, allocations: 399 kB / 0.7303 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.4157, allocations: 0 / 0.7303 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007193/0.4164, allocations: 343.1 kB / 0.7307 GB, free: 8.184 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.001379/0.4178, allocations: 0.618 MB / 0.7313 GB, free: 7.809 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.4188, allocations: 0.6478 MB / 0.7319 GB, free: 7.141 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.4188, allocations: 8 kB / 0.7319 GB, free: 7.133 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000459/0.4193, allocations: 481.1 kB / 0.7324 GB, free: 6.645 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007266/0.42, allocations: 336.5 kB / 0.7327 GB, free: 6.355 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.4227, allocations: 1.619 MB / 0.7343 GB, free: 4.703 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.4228, allocations: 199.3 kB / 0.7344 GB, free: 4.484 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000533/0.4234, allocations: 246.5 kB / 0.7347 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.4236, allocations: 108.5 kB / 0.7348 GB, free: 4.133 MB / 0.5417 GB Notification: Performance of SimCode: time 1.803e-06/0.4236, allocations: 0 / 0.7348 GB, free: 4.133 MB / 0.5417 GB Notification: Performance of Templates: time 0.01987/0.4434, allocations: 15.49 MB / 0.7499 GB, free: 4.914 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.72719009174034]