Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 106.2 kB / 15.98 MB, free: 6.359 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.001032/0.001032, allocations: 191.4 kB / 16.91 MB, free: 6.195 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.398/1.398, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8297/0.8297, allocations: 122.9 MB / 413.6 MB, free: 60 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 63.91 kB / 0.4906 GB, free: 7.871 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.471/0.4726, allocations: 77.92 MB / 0.5667 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007542/0.4802, allocations: 5.195 MB / 0.5717 GB, free: 29.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1872/0.6674, allocations: 148.4 MB / 0.7167 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.669, allocations: 15.94 kB / 0.7167 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007412/0.6698, allocations: 158.7 kB / 0.7169 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002295/0.6721, allocations: 0.4928 MB / 0.7174 GB, free: 224 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.6745, allocations: 0.7528 MB / 0.7181 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001714/0.6762, allocations: 1.443 MB / 0.7195 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008966/0.6771, allocations: 0.6129 MB / 0.7201 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007304/0.6778, allocations: 0.4982 MB / 0.7206 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000563/0.6784, allocations: 0.5346 MB / 0.7211 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.6786, allocations: 120 kB / 0.7212 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009694/0.6796, allocations: 467.6 kB / 0.7217 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002634/0.6798, allocations: 307 kB / 0.722 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005123/0.6803, allocations: 0.5869 MB / 0.7225 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002039/0.6824, allocations: 1.651 MB / 0.7242 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6824, allocations: 0 / 0.7242 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.764e-06/0.6824, allocations: 0 / 0.7242 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.6824, allocations: 0 / 0.7242 GB, free: 9.227 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002743/0.6852, allocations: 1.489 MB / 0.7256 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.6852, allocations: 8.625 kB / 0.7256 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009328/0.6862, allocations: 191.3 kB / 0.7258 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.6872, allocations: 0.7623 MB / 0.7265 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.577e-05/0.6873, allocations: 69.94 kB / 0.7266 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.6875, allocations: 92 kB / 0.7267 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.6891, allocations: 0.9574 MB / 0.7276 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.6892, allocations: 4 kB / 0.7276 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-05/0.6892, allocations: 36 kB / 0.7277 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.6893, allocations: 20 kB / 0.7277 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/0.691, allocations: 1.136 MB / 0.7288 GB, free: 4.336 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.004264/0.6953, allocations: 2.801 MB / 0.7315 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.6969, allocations: 0.8474 MB / 0.7324 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005302/0.6974, allocations: 330.6 kB / 0.7327 GB, free: 240 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.612e-05/0.6975, allocations: 28.69 kB / 0.7327 GB, free: 208 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009827/0.6985, allocations: 0.5024 MB / 0.7332 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.425e-06/0.6985, allocations: 3.938 kB / 0.7332 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.003279/0.7018, allocations: 1.247 MB / 0.7344 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.7019, allocations: 192.9 kB / 0.7346 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009057/0.7028, allocations: 0.6489 MB / 0.7352 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-05/0.7029, allocations: 41.7 kB / 0.7353 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000349/0.7033, allocations: 416.4 kB / 0.7357 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000242/0.7035, allocations: 276 kB / 0.7359 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/0.7038, allocations: 170.5 kB / 0.7361 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.704, allocations: 390.7 kB / 0.7365 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005433/0.7046, allocations: 277.9 kB / 0.7367 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006155/0.7052, allocations: 375.1 kB / 0.7371 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.7063, allocations: 0.6359 MB / 0.7377 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.7063, allocations: 3.938 kB / 0.7377 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00207/0.7084, allocations: 0.8838 MB / 0.7386 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.7084, allocations: 4 kB / 0.7386 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.7084, allocations: 0 / 0.7386 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006223/0.709, allocations: 88.8 kB / 0.7387 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006977/0.7097, allocations: 175.8 kB / 0.7388 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.7119, allocations: 1.65 MB / 0.7404 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008857/0.7128, allocations: 95.33 kB / 0.7405 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.997e-05/0.7129, allocations: 39.97 kB / 0.7406 GB, free: 7.832 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 (100): * Single equations (assignments): 99 * 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.000512/0.7134, allocations: 267.4 kB / 0.7408 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.7136, allocations: 86.97 kB / 0.7409 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/0.716, allocations: 1.093 MB / 0.742 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.7161, allocations: 15.98 kB / 0.742 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.7161, allocations: 0 / 0.742 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.7161, allocations: 7.969 kB / 0.742 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.7173, allocations: 0.9269 MB / 0.7429 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.7173, allocations: 0 / 0.7429 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006715/0.718, allocations: 155.7 kB / 0.7431 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004625/0.7185, allocations: 76.78 kB / 0.7431 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.951e-05/0.7186, allocations: 23.98 kB / 0.7432 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.7205, allocations: 1.658 MB / 0.7448 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7205, allocations: 0 / 0.7448 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/0.7232, allocations: 1.367 MB / 0.7461 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004427/0.7236, allocations: 279.8 kB / 0.7464 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.7238, allocations: 27.94 kB / 0.7464 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000652/0.7244, allocations: 67.83 kB / 0.7465 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.7246, allocations: 64.91 kB / 0.7465 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.612e-05/0.7247, allocations: 39.97 kB / 0.7466 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005922/0.7253, allocations: 471 kB / 0.747 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.263e-06/0.7253, allocations: 0 / 0.747 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000955/0.7262, allocations: 347.1 kB / 0.7473 GB, free: 0.6406 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 (96): * Single equations (assignments): 90 * 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.001372/0.7276, allocations: 0.5906 MB / 0.7479 GB, free: 256 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.3004/1.028, allocations: 1.063 MB / 0.749 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.028, allocations: 0.9375 kB / 0.749 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/1.029, allocations: 0.5322 MB / 0.7495 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/1.031, allocations: 312.5 kB / 0.7498 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004851/1.036, allocations: 2.28 MB / 0.752 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009576/1.037, allocations: 1.043 MB / 0.753 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001284/1.038, allocations: 272.4 kB / 0.7533 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/1.038, allocations: 108.5 kB / 0.7534 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of SimCode: time 2.014e-06/1.038, allocations: 0 / 0.7534 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.02994/1.068, allocations: 15.31 MB / 0.7683 GB, free: 163.4 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)