Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.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.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow") translateModel(IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 104.8 kB / 17.03 MB, free: 5.699 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.0009872/0.0009872, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.317/1.317, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7356/0.7356, allocations: 115.1 MB / 406.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4223, allocations: 76.14 MB / 0.5576 GB, free: 36.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.5695/0.9919, allocations: 204.1 MB / 0.7569 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01014/1.002, allocations: 6.369 MB / 0.7631 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/1.004, allocations: 38.09 kB / 0.7632 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001907/1.006, allocations: 0.7315 MB / 0.7639 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006742/1.013, allocations: 2.671 MB / 0.7665 GB, free: 1.711 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.001824/1.014, allocations: 0.7167 MB / 0.7672 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004277/1.019, allocations: 3.275 MB / 0.7704 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/1.02, allocations: 1.14 MB / 0.7715 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002535/1.023, allocations: 1.25 MB / 0.7727 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002153/1.025, allocations: 1.099 MB / 0.7738 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002322/1.025, allocations: 128 kB / 0.7739 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004916/1.03, allocations: 2.356 MB / 0.7762 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006281/1.031, allocations: 0.5142 MB / 0.7767 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00119/1.032, allocations: 0.7394 MB / 0.7774 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004761/1.037, allocations: 2.797 MB / 0.7802 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.037, allocations: 1.094 kB / 0.7802 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.014e-06/1.037, allocations: 2.375 kB / 0.7802 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.199e-05/1.037, allocations: 0 / 0.7802 GB, free: 1.395 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004315/1.041, allocations: 1.766 MB / 0.7819 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/1.041, allocations: 9.719 kB / 0.7819 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002199/1.043, allocations: 346.6 kB / 0.7822 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/1.045, allocations: 0.8778 MB / 0.7831 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/1.045, allocations: 78.02 kB / 0.7832 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/1.045, allocations: 100.5 kB / 0.7833 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/1.047, allocations: 1.195 MB / 0.7844 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/1.047, allocations: 0.5938 kB / 0.7844 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.49e-05/1.047, allocations: 42.3 kB / 0.7845 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.14e-05/1.047, allocations: 64.27 kB / 0.7845 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/1.049, allocations: 1.249 MB / 0.7857 GB, free: 16.08 MB / 0.5919 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.006004/1.055, allocations: 5.1 MB / 0.7907 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/1.056, allocations: 1.156 MB / 0.7919 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005931/1.057, allocations: 0.5049 MB / 0.7923 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.14e-05/1.057, allocations: 18.81 kB / 0.7924 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006275/1.057, allocations: 485.5 kB / 0.7928 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.995e-06/1.057, allocations: 0.9375 kB / 0.7928 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.0017/1.059, allocations: 1.158 MB / 0.794 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/1.059, allocations: 58.22 kB / 0.794 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006278/1.06, allocations: 0.577 MB / 0.7946 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.227e-05/1.06, allocations: 40.42 kB / 0.7946 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000254/1.06, allocations: 463.3 kB / 0.7951 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/1.06, allocations: 270.8 kB / 0.7953 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/1.061, allocations: 134.5 kB / 0.7954 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001566/1.061, allocations: 386.4 kB / 0.7958 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/1.061, allocations: 335.8 kB / 0.7961 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004753/1.062, allocations: 454 kB / 0.7966 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009227/1.063, allocations: 0.8212 MB / 0.7974 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.063, allocations: 0.8125 kB / 0.7974 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001198/1.064, allocations: 0.93 MB / 0.7983 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/1.064, allocations: 8.156 kB / 0.7983 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.064, allocations: 7 kB / 0.7983 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/1.064, allocations: 5.156 kB / 0.7983 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006393/1.064, allocations: 157 kB / 0.7984 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/1.065, allocations: 10.25 kB / 0.7985 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007711/1.065, allocations: 62.47 kB / 0.7985 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-05/1.065, allocations: 26.81 kB / 0.7985 GB, free: 11.75 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004807/1.066, allocations: 328.1 kB / 0.7989 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/1.066, allocations: 84.39 kB / 0.7989 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/1.066, allocations: 107.8 kB / 0.799 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/1.066, allocations: 8.656 kB / 0.799 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/1.066, allocations: 0.9062 kB / 0.799 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001201/1.067, allocations: 1.097 MB / 0.8001 GB, free: 11.12 MB / 0.5919 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 postOpt removeSimpleEquations (simulation): time 0.003058/1.07, allocations: 2.299 MB / 0.8024 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/1.071, allocations: 5.219 kB / 0.8024 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008077/1.071, allocations: 180.6 kB / 0.8025 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/1.071, allocations: 3.75 kB / 0.8025 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-05/1.071, allocations: 18.11 kB / 0.8026 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/1.071, allocations: 2.094 kB / 0.8026 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.071, allocations: 3.5 kB / 0.8026 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/1.073, allocations: 1.354 MB / 0.8039 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00047/1.073, allocations: 251.4 kB / 0.8041 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/1.074, allocations: 19 kB / 0.8041 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005946/1.074, allocations: 27.34 kB / 0.8042 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.368e-05/1.074, allocations: 44.19 kB / 0.8042 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.539e-05/1.074, allocations: 25.89 kB / 0.8042 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004711/1.075, allocations: 413.2 kB / 0.8046 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.075, allocations: 0.875 kB / 0.8046 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001094/1.076, allocations: 364.3 kB / 0.805 GB, free: 10.12 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003131/1.076, allocations: 188.5 kB / 0.8052 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001091/1.077, allocations: 0.8039 MB / 0.8059 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.077, allocations: 2.25 kB / 0.8059 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005286/1.078, allocations: 422.1 kB / 0.8064 GB, free: 10 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/1.08, allocations: 0.5977 MB / 0.8069 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/1.084, allocations: 2.161 MB / 0.809 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006754/1.084, allocations: 1.14 MB / 0.8102 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009869/1.085, allocations: 275.1 kB / 0.8104 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/1.085, allocations: 75.77 kB / 0.8105 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of SimCode: time 1.062e-06/1.085, allocations: 1.094 kB / 0.8105 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of Templates: time 0.02874/1.114, allocations: 19.06 MB / 0.8291 GB, free: 10.98 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)