Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.TrickleVent.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.Airflow.Multizone.Examples.TrickleVent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.TrickleVent") translateModel(IBPSA.Airflow.Multizone.Examples.TrickleVent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.TrickleVent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007848/0.0007847, allocations: 93.73 kB / 16.02 MB, free: 84 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.0008197/0.0008199, allocations: 186.8 kB / 16.92 MB, free: 6.891 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.366/1.366, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7213/0.7213, allocations: 123 MB / 415.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003203, allocations: 8 kB / 0.4933 GB, free: 14.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4, allocations: 79.28 MB / 0.5707 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.TrickleVent): time 0.2083/0.6084, allocations: 183.2 MB / 0.7497 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02173/0.6301, allocations: 16.33 MB / 0.7656 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002187/0.6324, allocations: 47.69 kB / 0.7657 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.6344, allocations: 0.6331 MB / 0.7663 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006188/0.6406, allocations: 2.202 MB / 0.7684 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00641/0.647, allocations: 1.785 MB / 0.7702 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006886/0.6539, allocations: 4.575 MB / 0.7746 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002922/0.6568, allocations: 1.759 MB / 0.7764 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004134/0.661, allocations: 1.238 MB / 0.7776 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002036/0.663, allocations: 1.169 MB / 0.7787 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002315/0.6633, allocations: 64 kB / 0.7788 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004417/0.6677, allocations: 2.218 MB / 0.7809 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006768/0.6684, allocations: 0.572 MB / 0.7815 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.6698, allocations: 1.07 MB / 0.7825 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005457/0.6752, allocations: 3.816 MB / 0.7863 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6752, allocations: 0 / 0.7863 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6753, allocations: 0 / 0.7863 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.578e-05/0.6753, allocations: 0 / 0.7863 GB, free: 15.19 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 454 * Number of variables: 454 Notification: Performance of Generate backend data structure: time 0.004753/0.6801, allocations: 2.415 MB / 0.7886 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.071e-05/0.6801, allocations: 12.03 kB / 0.7886 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003864/0.684, allocations: 0.5629 MB / 0.7892 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002483/0.6865, allocations: 1.509 MB / 0.7906 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.6866, allocations: 131.5 kB / 0.7908 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000276/0.6869, allocations: 176 kB / 0.7909 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003569/0.6905, allocations: 2.056 MB / 0.793 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.844e-05/0.6906, allocations: 4 kB / 0.793 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/0.6907, allocations: 72 kB / 0.793 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.599e-05/0.6908, allocations: 79.39 kB / 0.7931 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003496/0.6943, allocations: 2.109 MB / 0.7952 GB, free: 5.859 MB / 0.6231 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.01052/0.7049, allocations: 7.694 MB / 0.8027 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/0.7077, allocations: 1.687 MB / 0.8043 GB, free: 12 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.709, allocations: 0.7694 MB / 0.8051 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007988/0.7098, allocations: 0.6609 MB / 0.8057 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00178/0.7116, allocations: 0.9855 MB / 0.8067 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=151): time 3.868e-06/0.7116, allocations: 0 / 0.8067 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of matching and sorting (n=151): time 0.006419/0.7181, allocations: 2.688 MB / 0.8093 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.7182, allocations: 222.9 kB / 0.8095 GB, free: 6.414 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002619/0.7208, allocations: 1.52 MB / 0.811 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001876/0.721, allocations: 53.7 kB / 0.8111 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007061/0.7217, allocations: 0.8427 MB / 0.8119 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000501/0.7223, allocations: 0.4928 MB / 0.8124 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.7225, allocations: 121.6 kB / 0.8125 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.7227, allocations: 361.9 kB / 0.8128 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.724, allocations: 0.5973 MB / 0.8134 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.7254, allocations: 0.7811 MB / 0.8142 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002516/0.7279, allocations: 1.386 MB / 0.8155 GB, free: 164 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.7279, allocations: 0 / 0.8155 GB, free: 164 kB / 0.6387 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.3183/1.046, allocations: 1.816 MB / 0.8173 GB, free: 221.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.999e-05/1.046, allocations: 149.5 kB / 0.8174 GB, free: 221.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.046, allocations: 2.766 kB / 0.8174 GB, free: 221.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008442/1.047, allocations: 144.5 kB / 0.8176 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/1.049, allocations: 325.9 kB / 0.8179 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003565/1.052, allocations: 4.231 MB / 0.822 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/1.055, allocations: 207.5 kB / 0.8222 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/1.055, allocations: 60.81 kB / 0.8223 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/1.055, allocations: 4.094 kB / 0.8223 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003446/1.058, allocations: 1.613 MB / 0.8239 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.058, allocations: 1.969 kB / 0.8239 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000749/1.059, allocations: 152.9 kB / 0.824 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/1.061, allocations: 319.9 kB / 0.8243 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003339/1.064, allocations: 4.24 MB / 0.8284 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/1.066, allocations: 196 kB / 0.8286 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/1.066, allocations: 59.75 kB / 0.8287 GB, free: 213.3 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001407/1.067, allocations: 0.5443 MB / 0.8292 GB, free: 212.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004942/1.068, allocations: 190.1 kB / 0.8294 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004829/1.073, allocations: 2.04 MB / 0.8314 GB, free: 212.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/1.073, allocations: 15.94 kB / 0.8314 GB, free: 212.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/1.073, allocations: 10.11 kB / 0.8314 GB, free: 212.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00358/1.076, allocations: 1.679 MB / 0.8331 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007884/1.084, allocations: 3.886 MB / 0.8369 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/1.084, allocations: 0 / 0.8369 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/1.086, allocations: 308.5 kB / 0.8371 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007464/1.087, allocations: 161.7 kB / 0.8373 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/1.087, allocations: 41.5 kB / 0.8373 GB, free: 209.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003165/1.09, allocations: 4.232 MB / 0.8415 GB, free: 205.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.09, allocations: 3.938 kB / 0.8415 GB, free: 205.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005484/1.095, allocations: 2.826 MB / 0.8442 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/1.097, allocations: 483.4 kB / 0.8447 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/1.097, allocations: 33.48 kB / 0.8447 GB, free: 204.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/1.098, allocations: 163 kB / 0.8449 GB, free: 204.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002608/1.098, allocations: 111.3 kB / 0.845 GB, free: 204.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/1.099, allocations: 65.95 kB / 0.8451 GB, free: 204.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001515/1.1, allocations: 1.065 MB / 0.8461 GB, free: 203.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.2e-07/1.1, allocations: 0 / 0.8461 GB, free: 203.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002919/1.103, allocations: 1.14 MB / 0.8472 GB, free: 203.5 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (room.dynBal.medium.Xi[1],room.dynBal.U,room.dynBal.m,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * 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.conTimMin.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001864/1.105, allocations: 0.7898 MB / 0.848 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005347/1.11, allocations: 3.058 MB / 0.851 GB, free: 201.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.11, allocations: 5.719 kB / 0.851 GB, free: 201.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001845/1.112, allocations: 1.184 MB / 0.8521 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/1.116, allocations: 0.7065 MB / 0.8528 GB, free: 201 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006136/1.122, allocations: 4.99 MB / 0.8577 GB, free: 198.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008398/1.123, allocations: 1.546 MB / 0.8592 GB, free: 197.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00241/1.125, allocations: 0.5983 MB / 0.8598 GB, free: 197.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004446/1.125, allocations: 170.5 kB / 0.8599 GB, free: 197.1 MB / 0.6387 GB Notification: Performance of SimCode: time 7.21e-07/1.125, allocations: 0 / 0.8599 GB, free: 197.1 MB / 0.6387 GB Notification: Performance of Templates: time 0.04709/1.173, allocations: 34.36 MB / 0.8935 GB, free: 166 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.TrickleVent.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.TrickleVent.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.TrickleVent.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.TrickleVent.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.TrickleVent.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.TrickleVent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.TrickleVent.pipe 2>&1)