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.0009884/0.0009884, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009079/0.0009079, allocations: 175.5 kB / 16.58 MB, free: 6.852 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.36/1.36, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.697/0.697, allocations: 115.5 MB / 407.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003194, allocations: 9.938 kB / 495.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1771, allocations: 77.52 MB / 0.5593 GB, free: 9.461 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.01024/0.1874, allocations: 4.516 MB / 0.5637 GB, free: 4.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3936/0.581, allocations: 136.9 MB / 0.6974 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009323/0.582, allocations: 19.94 kB / 0.6974 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006583/0.5827, allocations: 154.7 kB / 0.6975 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.5844, allocations: 470.3 kB / 0.698 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.5863, allocations: 0.6427 MB / 0.6986 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0016/0.588, allocations: 1.26 MB / 0.6998 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008648/0.5888, allocations: 471.6 kB / 0.7003 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006754/0.5895, allocations: 358.4 kB / 0.7006 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006325/0.5902, allocations: 394 kB / 0.701 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.5903, allocations: 28 kB / 0.701 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008038/0.5911, allocations: 347.6 kB / 0.7014 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002401/0.5914, allocations: 187.1 kB / 0.7015 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002862/0.5917, allocations: 209.1 kB / 0.7017 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.593, allocations: 1.216 MB / 0.7029 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.593, allocations: 0 / 0.7029 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.262e-06/0.593, allocations: 3.938 kB / 0.7029 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.575e-05/0.5931, allocations: 0 / 0.7029 GB, free: 4.312 MB / 0.5137 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.002451/0.5955, allocations: 1.283 MB / 0.7042 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.5956, allocations: 12.03 kB / 0.7042 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009248/0.5965, allocations: 202.4 kB / 0.7044 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.5977, allocations: 0.7272 MB / 0.7051 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-05/0.5978, allocations: 73.94 kB / 0.7052 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.5979, allocations: 88 kB / 0.7053 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.5996, allocations: 0.9456 MB / 0.7062 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.5997, allocations: 8 kB / 0.7062 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.706e-05/0.5998, allocations: 36 kB / 0.7062 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.5998, allocations: 20 kB / 0.7062 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.6017, allocations: 1.136 MB / 0.7074 GB, free: 15.65 MB / 0.5294 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.004403/0.6061, allocations: 2.843 MB / 0.7101 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.6077, allocations: 0.855 MB / 0.711 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005659/0.6083, allocations: 323.5 kB / 0.7113 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.397e-05/0.6084, allocations: 32.67 kB / 0.7113 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008946/0.6093, allocations: 0.5081 MB / 0.7118 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=85): time 2.515e-06/0.6093, allocations: 0 / 0.7118 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85): time 0.003063/0.6124, allocations: 1.259 MB / 0.713 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.6125, allocations: 188.9 kB / 0.7132 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008994/0.6134, allocations: 0.6488 MB / 0.7138 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.902e-05/0.6135, allocations: 41.7 kB / 0.7139 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003474/0.6138, allocations: 412.4 kB / 0.7143 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.6141, allocations: 276 kB / 0.7145 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.6142, allocations: 16 kB / 0.7146 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.6143, allocations: 390.7 kB / 0.7149 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000565/0.6149, allocations: 281.8 kB / 0.7152 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006466/0.6156, allocations: 375 kB / 0.7156 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006196/0.6162, allocations: 322.9 kB / 0.7159 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.6162, allocations: 0 / 0.7159 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00194/0.6182, allocations: 0.8877 MB / 0.7167 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.6182, allocations: 4 kB / 0.7167 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6182, allocations: 8.094 kB / 0.7167 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005462/0.6188, allocations: 80.77 kB / 0.7168 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007112/0.6195, allocations: 179.8 kB / 0.717 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.6216, allocations: 1.526 MB / 0.7185 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007722/0.6224, allocations: 111.2 kB / 0.7186 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.727e-05/0.6225, allocations: 39.22 kB / 0.7186 GB, free: 3.703 MB / 0.5294 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004843/0.623, allocations: 271.4 kB / 0.7189 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.6232, allocations: 86.97 kB / 0.719 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/0.6256, allocations: 1.102 MB / 0.72 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.6256, allocations: 12 kB / 0.7201 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.6256, allocations: 0 / 0.7201 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.6256, allocations: 7.938 kB / 0.7201 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.6269, allocations: 0.9273 MB / 0.721 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.6269, allocations: 7.938 kB / 0.721 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006684/0.6276, allocations: 163.8 kB / 0.7211 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004772/0.6281, allocations: 84.72 kB / 0.7212 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.67e-05/0.6282, allocations: 31.97 kB / 0.7212 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/0.63, allocations: 1.536 MB / 0.7227 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.6301, allocations: 12.11 kB / 0.7227 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/0.6327, allocations: 1.367 MB / 0.7241 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/0.6332, allocations: 295.6 kB / 0.7244 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.6333, allocations: 23.95 kB / 0.7244 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006533/0.634, allocations: 83.98 kB / 0.7245 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.6342, allocations: 72.89 kB / 0.7245 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.37e-05/0.6342, allocations: 35.98 kB / 0.7246 GB, free: 13.35 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006212/0.6349, allocations: 467 kB / 0.725 GB, free: 12.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6349, allocations: 0 / 0.725 GB, free: 12.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009313/0.6358, allocations: 335.2 kB / 0.7253 GB, free: 12.57 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001411/0.6372, allocations: 0.598 MB / 0.7259 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001786/0.639, allocations: 0.8551 MB / 0.7268 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.6391, allocations: 192 / 0.7268 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009461/0.64, allocations: 0.5392 MB / 0.7273 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.6413, allocations: 269.6 kB / 0.7275 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.6451, allocations: 2.285 MB / 0.7298 GB, free: 8.176 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006979/0.6458, allocations: 1.043 MB / 0.7308 GB, free: 7.105 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009071/0.6467, allocations: 262.9 kB / 0.731 GB, free: 6.844 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.647, allocations: 107.4 kB / 0.7311 GB, free: 6.742 MB / 0.545 GB Notification: Performance of SimCode: time 9.72e-07/0.647, allocations: 0 / 0.7311 GB, free: 6.742 MB / 0.545 GB Notification: Performance of Templates: time 0.02589/0.6729, allocations: 14.22 MB / 0.745 GB, free: 8.707 MB / 0.5606 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)