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: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009472/0.0009473, 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.0009766/0.000977, allocations: 178.7 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.4/1.4, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7056/0.7056, allocations: 113.7 MB / 405.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003298, allocations: 8.906 kB / 493.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1494, allocations: 77.12 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.4972/0.6467, allocations: 185.9 MB / 0.7384 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009666/0.6564, allocations: 5.965 MB / 0.7442 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.658, allocations: 31.81 kB / 0.7443 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.6595, allocations: 485.1 kB / 0.7447 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005392/0.6649, allocations: 1.936 MB / 0.7466 GB, free: 8.488 MB / 0.5606 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.001565/0.6665, allocations: 0.4891 MB / 0.7471 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00461/0.6711, allocations: 4.03 MB / 0.751 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.6724, allocations: 0.8112 MB / 0.7518 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002214/0.6746, allocations: 1.066 MB / 0.7529 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.6761, allocations: 1.047 MB / 0.7539 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.6762, allocations: 60 kB / 0.754 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003366/0.6796, allocations: 1.13 MB / 0.7551 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000491/0.6801, allocations: 450.7 kB / 0.7555 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004191/0.6805, allocations: 289.1 kB / 0.7558 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.6828, allocations: 1.831 MB / 0.7576 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.6828, allocations: 4 kB / 0.7576 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6828, allocations: 0 / 0.7576 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.6828, allocations: 0 / 0.7576 GB, free: 13.25 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.003375/0.6862, allocations: 1.536 MB / 0.7591 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.6863, allocations: 16.03 kB / 0.7591 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002075/0.6865, allocations: 160.6 kB / 0.7592 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.6885, allocations: 350.2 kB / 0.7596 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.6898, allocations: 0.8082 MB / 0.7604 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-05/0.6898, allocations: 78 kB / 0.7604 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.69, allocations: 104 kB / 0.7605 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.6919, allocations: 1.187 MB / 0.7617 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.692, allocations: 3.906 kB / 0.7617 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.722e-05/0.6921, allocations: 44 kB / 0.7617 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.837e-05/0.6922, allocations: 62.75 kB / 0.7618 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/0.6939, allocations: 1.238 MB / 0.763 GB, free: 7.531 MB / 0.5762 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.005928/0.6999, allocations: 5.075 MB / 0.768 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.7013, allocations: 1.165 MB / 0.7691 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006999/0.702, allocations: 0.5018 MB / 0.7696 GB, free: 252 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.912e-05/0.7021, allocations: 8.656 kB / 0.7696 GB, free: 244 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007303/0.7028, allocations: 492.2 kB / 0.7701 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 4.719e-06/0.7029, allocations: 4 kB / 0.7701 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.001858/0.7047, allocations: 1.153 MB / 0.7712 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.7048, allocations: 60.06 kB / 0.7712 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006256/0.7054, allocations: 0.5705 MB / 0.7718 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.537e-05/0.7055, allocations: 41.7 kB / 0.7718 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/0.7058, allocations: 459.8 kB / 0.7723 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/0.706, allocations: 268.1 kB / 0.7725 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.7061, allocations: 20 kB / 0.7726 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.7063, allocations: 386.8 kB / 0.7729 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004655/0.7067, allocations: 325.8 kB / 0.7732 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005472/0.7073, allocations: 448.6 kB / 0.7737 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005811/0.7079, allocations: 399 kB / 0.774 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.7079, allocations: 0 / 0.774 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001317/0.7092, allocations: 0.9296 MB / 0.775 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.7092, allocations: 8 kB / 0.775 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.7093, allocations: 0 / 0.775 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.7093, allocations: 8 kB / 0.775 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006264/0.7099, allocations: 160.1 kB / 0.7751 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/0.7099, allocations: 8 kB / 0.7751 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00092/0.7109, allocations: 159.1 kB / 0.7753 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.552e-05/0.7109, allocations: 31.98 kB / 0.7753 GB, free: 10.28 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004776/0.7114, allocations: 337.5 kB / 0.7756 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.7115, allocations: 87.02 kB / 0.7757 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.7118, allocations: 103.8 kB / 0.7758 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.7118, allocations: 8 kB / 0.7758 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.7118, allocations: 0 / 0.7758 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001205/0.713, allocations: 1.085 MB / 0.7769 GB, free: 8.57 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.003272/0.7163, allocations: 2.316 MB / 0.7791 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.7163, allocations: 0 / 0.7791 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007612/0.7171, allocations: 175.8 kB / 0.7793 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/0.7171, allocations: 4 kB / 0.7793 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.874e-05/0.7172, allocations: 12 kB / 0.7793 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/0.7172, allocations: 4 kB / 0.7793 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.7172, allocations: 0 / 0.7793 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.719, allocations: 1.35 MB / 0.7806 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004417/0.7194, allocations: 260 kB / 0.7809 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.7195, allocations: 16 kB / 0.7809 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007816/0.7203, allocations: 97.64 kB / 0.781 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.83e-05/0.7204, allocations: 44.59 kB / 0.781 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.215e-05/0.7205, allocations: 23.98 kB / 0.7811 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004552/0.7209, allocations: 411.1 kB / 0.7815 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7209, allocations: 0 / 0.7815 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009133/0.7219, allocations: 367 kB / 0.7818 GB, free: 3.398 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002032/0.7239, allocations: 1.966 MB / 0.7837 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.725, allocations: 0.7945 MB / 0.7845 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.7251, allocations: 8.25 kB / 0.7845 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005095/0.7256, allocations: 419.5 kB / 0.7849 GB, free: 192 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002349/0.7279, allocations: 0.564 MB / 0.7855 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00846/0.7364, allocations: 5.889 MB / 0.7912 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006949/0.7371, allocations: 1.14 MB / 0.7923 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001052/0.7382, allocations: 271.1 kB / 0.7926 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005078/0.7387, allocations: 379.3 kB / 0.793 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of SimCode: time 6.21e-07/0.7387, allocations: 4 kB / 0.793 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.379/1.118, allocations: 25.84 MB / 0.8182 GB, free: 215.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003094/1.118, allocations: 170.2 kB / 0.8184 GB, free: 214.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/3.349, allocations: 1 kB / 0.8184 GB, free: 214.9 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) Environment - environmentSimulation: