Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 99.84 kB / 16.26 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 190.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8587/0.8587, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 59.91 kB / 0.4911 GB, free: 7.438 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4835/0.4848, allocations: 77.93 MB / 0.5672 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007152/0.492, allocations: 5.084 MB / 0.5721 GB, free: 28.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1765/0.6686, allocations: 150.6 MB / 0.7193 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002669/0.6713, allocations: 15.94 kB / 0.7193 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.6726, allocations: 206.1 kB / 0.7195 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002828/0.6754, allocations: 0.5544 MB / 0.72 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.6779, allocations: 0.8312 MB / 0.7208 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001561/0.6795, allocations: 1.416 MB / 0.7222 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008461/0.6803, allocations: 0.588 MB / 0.7228 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005674/0.6809, allocations: 0.4944 MB / 0.7233 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005428/0.6814, allocations: 0.5056 MB / 0.7238 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.6816, allocations: 120 kB / 0.7239 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009733/0.6826, allocations: 463.6 kB / 0.7243 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002628/0.6829, allocations: 299 kB / 0.7246 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004839/0.6834, allocations: 0.5791 MB / 0.7252 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.685, allocations: 1.624 MB / 0.7268 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.685, allocations: 0 / 0.7268 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.685, allocations: 4 kB / 0.7268 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.685, allocations: 0 / 0.7268 GB, free: 6.797 MB / 0.5606 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.002369/0.6874, allocations: 1.458 MB / 0.7282 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.6874, allocations: 8.625 kB / 0.7282 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009199/0.6884, allocations: 191.3 kB / 0.7284 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009727/0.6894, allocations: 0.7508 MB / 0.7291 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/0.6894, allocations: 66 kB / 0.7292 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.6895, allocations: 84 kB / 0.7292 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.691, allocations: 0.9456 MB / 0.7302 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.691, allocations: 7.906 kB / 0.7302 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-05/0.6911, allocations: 36 kB / 0.7302 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.6911, allocations: 20 kB / 0.7302 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.6928, allocations: 1.124 MB / 0.7313 GB, free: 1.984 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003708/0.6965, allocations: 2.759 MB / 0.734 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.6979, allocations: 0.8192 MB / 0.7348 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005286/0.6984, allocations: 314.6 kB / 0.7351 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-05/0.6985, allocations: 28.59 kB / 0.7352 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008445/0.6994, allocations: 0.4913 MB / 0.7356 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.004e-06/0.6994, allocations: 0 / 0.7356 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003054/0.7024, allocations: 1.203 MB / 0.7368 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.531e-05/0.7025, allocations: 196.5 kB / 0.737 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007116/0.7033, allocations: 0.641 MB / 0.7376 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.118e-05/0.7033, allocations: 41.7 kB / 0.7377 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002877/0.7036, allocations: 412.3 kB / 0.7381 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.7038, allocations: 264.2 kB / 0.7383 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/0.7041, allocations: 174.4 kB / 0.7385 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.7042, allocations: 386.8 kB / 0.7388 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/0.7047, allocations: 269.9 kB / 0.7391 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005799/0.7053, allocations: 367.1 kB / 0.7394 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.7064, allocations: 0.6151 MB / 0.74 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7064, allocations: 0 / 0.74 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001806/0.7082, allocations: 0.8605 MB / 0.7409 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.7082, allocations: 7.938 kB / 0.7409 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.7082, allocations: 96 / 0.7409 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005998/0.7088, allocations: 88.7 kB / 0.741 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006276/0.7095, allocations: 171.8 kB / 0.7411 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.7115, allocations: 1.634 MB / 0.7427 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007047/0.7122, allocations: 99.27 kB / 0.7428 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.684e-05/0.7123, allocations: 31.97 kB / 0.7429 GB, free: 5.727 MB / 0.5762 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.0004203/0.7127, allocations: 276.4 kB / 0.7431 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.7129, allocations: 86.95 kB / 0.7432 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/0.7151, allocations: 1.073 MB / 0.7443 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.7151, allocations: 12 kB / 0.7443 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.7151, allocations: 0 / 0.7443 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.7152, allocations: 8.016 kB / 0.7443 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009888/0.7162, allocations: 0.9035 MB / 0.7452 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.7162, allocations: 0 / 0.7452 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005733/0.7167, allocations: 151.7 kB / 0.7453 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004259/0.7172, allocations: 76.72 kB / 0.7454 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-05/0.7172, allocations: 23.98 kB / 0.7454 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.719, allocations: 1.662 MB / 0.747 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.719, allocations: 0 / 0.747 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3625/1.082, allocations: 1.332 MB / 0.7483 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007541/1.082, allocations: 271.6 kB / 0.7486 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/1.083, allocations: 23.28 kB / 0.7486 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007226/1.083, allocations: 63.08 kB / 0.7487 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002341/1.083, allocations: 68.2 kB / 0.7487 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.194e-05/1.084, allocations: 36.42 kB / 0.7488 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007837/1.084, allocations: 466.8 kB / 0.7492 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.01e-07/1.084, allocations: 1.188 kB / 0.7492 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001298/1.086, allocations: 331.6 kB / 0.7495 GB, free: 170.1 MB / 0.5762 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.001436/1.087, allocations: 0.5923 MB / 0.7501 GB, free: 170 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002813/1.09, allocations: 1.044 MB / 0.7511 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.09, allocations: 5.219 kB / 0.7511 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/1.091, allocations: 0.5233 MB / 0.7516 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/1.092, allocations: 305.9 kB / 0.7519 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/1.096, allocations: 1.789 MB / 0.7537 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008533/1.097, allocations: 1.035 MB / 0.7547 GB, free: 168 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001034/1.098, allocations: 276.5 kB / 0.755 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002845/1.098, allocations: 104.7 kB / 0.7551 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.132e-06/1.098, allocations: 0 / 0.7551 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.03391/1.132, allocations: 15.24 MB / 0.7699 GB, free: 162.5 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)