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.001997/0.001997, allocations: 101.8 kB / 16.27 MB, free: 6.414 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.002172/0.002172, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.32/1.32, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7427/0.7427, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.89 kB / 0.4911 GB, free: 7.418 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4175, allocations: 77.93 MB / 0.5672 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.5823/0.9998, allocations: 204.1 MB / 0.7666 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01035/1.01, allocations: 6.359 MB / 0.7728 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/1.012, allocations: 35.12 kB / 0.7728 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002192/1.014, allocations: 0.7359 MB / 0.7735 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008161/1.022, allocations: 2.672 MB / 0.7761 GB, free: 1.605 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.001904/1.024, allocations: 0.7112 MB / 0.7768 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004379/1.029, allocations: 3.274 MB / 0.78 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/1.031, allocations: 1.146 MB / 0.7812 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003155/1.034, allocations: 1.242 MB / 0.7824 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002683/1.036, allocations: 1.094 MB / 0.7834 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002325/1.037, allocations: 127.9 kB / 0.7836 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005055/1.042, allocations: 2.356 MB / 0.7859 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005682/1.042, allocations: 0.5193 MB / 0.7864 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001128/1.044, allocations: 0.7372 MB / 0.7871 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004111/1.048, allocations: 2.779 MB / 0.7898 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.048, allocations: 0 / 0.7898 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.254e-06/1.048, allocations: 0 / 0.7898 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.363e-05/1.048, allocations: 0.9375 kB / 0.7898 GB, free: 1.219 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.003481/1.051, allocations: 1.773 MB / 0.7915 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/1.051, allocations: 10.78 kB / 0.7915 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/1.053, allocations: 347.5 kB / 0.7919 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/1.054, allocations: 0.8443 MB / 0.7927 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.327e-05/1.054, allocations: 76.33 kB / 0.7928 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/1.055, allocations: 104 kB / 0.7929 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/1.056, allocations: 1.19 MB / 0.794 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/1.056, allocations: 0 / 0.794 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.574e-05/1.056, allocations: 39.8 kB / 0.7941 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.686e-05/1.057, allocations: 65.84 kB / 0.7941 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/1.058, allocations: 1.249 MB / 0.7954 GB, free: 15.89 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.005407/1.064, allocations: 5.133 MB / 0.8004 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/1.065, allocations: 1.162 MB / 0.8015 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006769/1.066, allocations: 0.5012 MB / 0.802 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.967e-05/1.066, allocations: 18.91 kB / 0.802 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006267/1.066, allocations: 487.7 kB / 0.8025 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.697e-06/1.066, allocations: 4.906 kB / 0.8025 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.001672/1.068, allocations: 1.157 MB / 0.8036 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/1.068, allocations: 67.48 kB / 0.8037 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005603/1.069, allocations: 0.5793 MB / 0.8042 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/1.069, allocations: 39.27 kB / 0.8043 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/1.069, allocations: 457.4 kB / 0.8047 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/1.069, allocations: 269 kB / 0.805 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/1.069, allocations: 132.8 kB / 0.8051 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.069, allocations: 384.5 kB / 0.8055 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000419/1.07, allocations: 335 kB / 0.8058 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004708/1.07, allocations: 445.7 kB / 0.8062 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/1.071, allocations: 0.8233 MB / 0.807 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.071, allocations: 3.594 kB / 0.807 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001158/1.073, allocations: 0.9319 MB / 0.8079 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.073, allocations: 6.719 kB / 0.8079 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/1.073, allocations: 2.938 kB / 0.8079 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/1.073, allocations: 7.969 kB / 0.8079 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006144/1.073, allocations: 156.8 kB / 0.8081 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/1.073, allocations: 13.33 kB / 0.8081 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007156/1.074, allocations: 58.03 kB / 0.8082 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/1.074, allocations: 25.25 kB / 0.8082 GB, free: 11.52 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.0004257/1.074, allocations: 333.7 kB / 0.8085 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/1.075, allocations: 82.41 kB / 0.8086 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/1.075, allocations: 110.3 kB / 0.8087 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/1.075, allocations: 7.156 kB / 0.8087 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/1.075, allocations: 0.9688 kB / 0.8087 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001094/1.076, allocations: 1.093 MB / 0.8098 GB, free: 10.89 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.002837/1.079, allocations: 2.321 MB / 0.812 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.079, allocations: 0 / 0.812 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007616/1.08, allocations: 171.3 kB / 0.8122 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/1.08, allocations: 4.812 kB / 0.8122 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.773e-05/1.08, allocations: 18.59 kB / 0.8122 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/1.08, allocations: 2.562 kB / 0.8122 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.08, allocations: 0 / 0.8122 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/1.081, allocations: 1.363 MB / 0.8135 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003769/1.082, allocations: 258.2 kB / 0.8138 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/1.082, allocations: 12.97 kB / 0.8138 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005918/1.082, allocations: 21.08 kB / 0.8138 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.699e-05/1.082, allocations: 50.83 kB / 0.8139 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.704e-05/1.083, allocations: 22.58 kB / 0.8139 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004589/1.083, allocations: 417.5 kB / 0.8143 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.083, allocations: 0 / 0.8143 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009521/1.084, allocations: 368.1 kB / 0.8146 GB, free: 9.875 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.0002677/1.084, allocations: 172.4 kB / 0.8148 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001794/1.086, allocations: 1.028 MB / 0.8158 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.086, allocations: 2.5 kB / 0.8158 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005141/1.087, allocations: 428.8 kB / 0.8162 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/1.089, allocations: 0.5934 MB / 0.8168 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/1.093, allocations: 2.196 MB / 0.8189 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007776/1.093, allocations: 1.14 MB / 0.8201 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001125/1.095, allocations: 269.8 kB / 0.8203 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/1.095, allocations: 81.36 kB / 0.8204 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of SimCode: time 9.02e-07/1.095, allocations: 0 / 0.8204 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of Templates: time 0.02915/1.124, allocations: 19.07 MB / 0.839 GB, free: 7.184 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)