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.000913/0.000913, allocations: 97.28 kB / 15.69 MB, free: 480 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.0009727/0.0009727, allocations: 176.4 kB / 16.57 MB, free: 6.859 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.315/1.315, allocations: 223.2 MB / 240.5 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6952/0.6952, allocations: 113.8 MB / 405.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 12 kB / 493.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1491, allocations: 77.16 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.TrickleVent): time 0.4573/0.6064, allocations: 156 MB / 0.7092 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01918/0.6257, allocations: 14.26 MB / 0.7231 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001853/0.6276, allocations: 39.75 kB / 0.7232 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.6292, allocations: 0.54 MB / 0.7237 GB, free: 15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006231/0.6354, allocations: 2.236 MB / 0.7259 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004174/0.6396, allocations: 1.417 MB / 0.7273 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005378/0.645, allocations: 2.212 MB / 0.7294 GB, free: 9.152 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002581/0.6476, allocations: 1.57 MB / 0.731 GB, free: 7.547 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/0.6498, allocations: 1.148 MB / 0.7321 GB, free: 6.395 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.651, allocations: 0.8398 MB / 0.7329 GB, free: 5.551 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.6511, allocations: 64 kB / 0.733 GB, free: 5.488 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003012/0.6542, allocations: 1.314 MB / 0.7342 GB, free: 4.172 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005089/0.6547, allocations: 0.5411 MB / 0.7348 GB, free: 3.629 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004854/0.6552, allocations: 452.4 kB / 0.7352 GB, free: 3.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003374/0.6586, allocations: 2.812 MB / 0.7379 GB, free: 376 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.6586, allocations: 4 kB / 0.7379 GB, free: 372 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6586, allocations: 3.938 kB / 0.738 GB, free: 368 kB / 0.545 GB Notification: Performance of Transformations before backend: time 4.204e-05/0.6586, allocations: 0 / 0.738 GB, free: 368 kB / 0.545 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.004333/0.663, allocations: 2.484 MB / 0.7404 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.663, allocations: 12.03 kB / 0.7404 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003386/0.6664, allocations: 0.5667 MB / 0.7409 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003681/0.6701, allocations: 2.703 MB / 0.7436 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.6702, allocations: 135.5 kB / 0.7437 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002381/0.6705, allocations: 176 kB / 0.7439 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00328/0.6738, allocations: 2.029 MB / 0.7459 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.358e-05/0.6738, allocations: 7.938 kB / 0.7459 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/0.674, allocations: 75.98 kB / 0.7459 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.69e-05/0.6741, allocations: 71.41 kB / 0.746 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003361/0.6775, allocations: 2.094 MB / 0.7481 GB, free: 5.805 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.01108/0.6886, allocations: 7.769 MB / 0.7556 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002527/0.6911, allocations: 1.543 MB / 0.7571 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005021/0.6916, allocations: 486.6 kB / 0.7576 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001565/0.6932, allocations: 0.9777 MB / 0.7586 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=151): time 3.406e-06/0.6932, allocations: 0 / 0.7586 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=151): time 0.005742/0.699, allocations: 2.657 MB / 0.7612 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.6991, allocations: 222.9 kB / 0.7614 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003904/0.703, allocations: 3.103 MB / 0.7644 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001944/0.7032, allocations: 65.69 kB / 0.7645 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008059/0.7041, allocations: 0.8823 MB / 0.7653 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004947/0.7046, allocations: 0.4967 MB / 0.7658 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.252e-05/0.7046, allocations: 24 kB / 0.7658 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.7048, allocations: 357.9 kB / 0.7662 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.7059, allocations: 0.5739 MB / 0.7667 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/0.7072, allocations: 0.7565 MB / 0.7675 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.7084, allocations: 0.6584 MB / 0.7681 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.7085, allocations: 0 / 0.7681 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003798/0.7123, allocations: 1.739 MB / 0.7698 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003258/0.7126, allocations: 0.7348 MB / 0.7705 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.7126, allocations: 7.984 kB / 0.7705 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008042/0.7134, allocations: 146.4 kB / 0.7707 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.7148, allocations: 307.6 kB / 0.771 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003888/0.7187, allocations: 4.257 MB / 0.7751 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.7205, allocations: 205.6 kB / 0.7753 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.7206, allocations: 48.05 kB / 0.7754 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/0.7206, allocations: 4 kB / 0.7754 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003116/0.7238, allocations: 1.536 MB / 0.7769 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.7238, allocations: 4 kB / 0.7769 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006865/0.7245, allocations: 146.6 kB / 0.777 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.7258, allocations: 307.6 kB / 0.7773 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003603/0.7295, allocations: 4.25 MB / 0.7815 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.7312, allocations: 206.7 kB / 0.7817 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.7314, allocations: 51.97 kB / 0.7817 GB, free: 1.73 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 159 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00111/0.7325, allocations: 0.5398 MB / 0.7822 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005256/0.7331, allocations: 201.5 kB / 0.7824 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004343/0.7374, allocations: 2.042 MB / 0.7844 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.7375, allocations: 16 kB / 0.7844 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.7375, allocations: 4 kB / 0.7844 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003022/0.7405, allocations: 1.673 MB / 0.7861 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006906/0.7474, allocations: 3.792 MB / 0.7898 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.7475, allocations: 7.953 kB / 0.7898 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/0.7489, allocations: 311.6 kB / 0.7901 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007025/0.7496, allocations: 150.5 kB / 0.7902 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/0.7497, allocations: 39.97 kB / 0.7903 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003704/0.7534, allocations: 4.265 MB / 0.7944 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.7535, allocations: 4.031 kB / 0.7944 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005175/0.7586, allocations: 2.909 MB / 0.7973 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/0.7598, allocations: 0.4943 MB / 0.7978 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004328/0.7603, allocations: 31.98 kB / 0.7978 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/0.7619, allocations: 167.7 kB / 0.798 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.7622, allocations: 105.2 kB / 0.7981 GB, free: 348 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/0.7623, allocations: 71.95 kB / 0.7981 GB, free: 276 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002886/0.7652, allocations: 2.346 MB / 0.8004 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.71e-07/0.7652, allocations: 0 / 0.8004 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003353/0.7686, allocations: 1.118 MB / 0.8015 GB, free: 12.81 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002042/0.7707, allocations: 0.783 MB / 0.8023 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005167/0.7758, allocations: 2.956 MB / 0.8052 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/0.7759, allocations: 8.562 kB / 0.8052 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001964/0.7778, allocations: 1.194 MB / 0.8063 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003279/0.7811, allocations: 0.6624 MB / 0.807 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008554/0.7897, allocations: 5.016 MB / 0.8119 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/0.7912, allocations: 1.592 MB / 0.8134 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002873/0.7941, allocations: 0.6111 MB / 0.814 GB, free: 4 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006497/0.7947, allocations: 183.3 kB / 0.8142 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of SimCode: time 7.51e-07/0.7947, allocations: 4 kB / 0.8142 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of Templates: time 0.3671/1.162, allocations: 34.34 MB / 0.8477 GB, free: 222.9 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)