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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.508/0.508, allocations: 90.91 MB / 99.34 MB, free: 2.188 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 221.5 MB / 343.2 MB, free: 1.586 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 94.78 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.699e-05/1.703e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1603, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.851/5.011, allocations: 1.875 GB / 2.428 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/5.011, allocations: 82.81 kB / 2.429 GB, free: 56.98 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd - DAE generated: time 2.388/7.4, allocations: 0.609 GB / 3.038 GB, free: 97.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.303e-06/7.4, allocations: 0 / 3.038 GB, free: 97.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001131/7.4, allocations: 32.34 kB / 3.038 GB, free: 97.08 MB / 0.6042 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.005307/7.405, allocations: 1.551 MB / 3.039 GB, free: 96.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/7.405, allocations: 11.69 kB / 3.039 GB, free: 96.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002613/7.408, allocations: 331.3 kB / 3.039 GB, free: 96.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/7.41, allocations: 0.8714 MB / 3.04 GB, free: 96.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.463e-05/7.41, allocations: 33.22 kB / 3.04 GB, free: 96.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002821/7.41, allocations: 57.25 kB / 3.04 GB, free: 96.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001911/7.412, allocations: 0.9902 MB / 3.041 GB, free: 96.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/7.414, allocations: 0.9629 MB / 3.042 GB, free: 96.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/7.414, allocations: 2.406 kB / 3.042 GB, free: 96.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/7.414, allocations: 0 / 3.042 GB, free: 96.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.581e-05/7.414, allocations: 56.45 kB / 3.042 GB, free: 96.03 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.006248/7.42, allocations: 4.865 MB / 3.047 GB, free: 93.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/7.423, allocations: 3.406 MB / 3.05 GB, free: 90.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005912/7.423, allocations: 449.3 kB / 3.051 GB, free: 90.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.739e-05/7.423, allocations: 22.33 kB / 3.051 GB, free: 90.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005605/7.424, allocations: 399.2 kB / 3.051 GB, free: 90.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=76): time 3.065e-06/7.424, allocations: 0 / 3.051 GB, free: 90.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76): time 0.001229/7.425, allocations: 0.6953 MB / 3.052 GB, free: 90.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/7.425, allocations: 60.06 kB / 3.052 GB, free: 90.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005444/7.426, allocations: 424.8 kB / 3.052 GB, free: 90.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.262e-05/7.426, allocations: 29.58 kB / 3.052 GB, free: 90.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/7.426, allocations: 462.1 kB / 3.053 GB, free: 89.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/7.426, allocations: 257.1 kB / 3.053 GB, free: 89.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/7.426, allocations: 0 / 3.053 GB, free: 89.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.998e-05/7.426, allocations: 376.8 kB / 3.053 GB, free: 89.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/7.427, allocations: 267.5 kB / 3.054 GB, free: 89.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004044/7.427, allocations: 373.4 kB / 3.054 GB, free: 89.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/7.428, allocations: 333.3 kB / 3.054 GB, free: 89.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/7.428, allocations: 3.156 kB / 3.054 GB, free: 89.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001093/7.429, allocations: 0.7605 MB / 3.055 GB, free: 89.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/7.429, allocations: 7.812 kB / 3.055 GB, free: 89.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/7.429, allocations: 3.906 kB / 3.055 GB, free: 89.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/7.429, allocations: 7.703 kB / 3.055 GB, free: 89.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005855/7.429, allocations: 160.1 kB / 3.055 GB, free: 89.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/7.429, allocations: 10.88 kB / 3.055 GB, free: 89.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/7.43, allocations: 137 kB / 3.055 GB, free: 89.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/7.431, allocations: 26.03 kB / 3.055 GB, free: 89.27 MB / 0.6042 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 () * 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.0001582/7.431, allocations: 119.6 kB / 3.056 GB, free: 89.16 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009862/7.432, allocations: 0.685 MB / 3.056 GB, free: 89.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/7.432, allocations: 72.75 kB / 3.056 GB, free: 89.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/7.432, allocations: 98.28 kB / 3.056 GB, free: 89.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/7.432, allocations: 3.938 kB / 3.056 GB, free: 89.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/7.432, allocations: 7.766 kB / 3.056 GB, free: 89.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008465/7.433, allocations: 0.9458 MB / 3.057 GB, free: 88.57 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.003286/7.436, allocations: 2.504 MB / 3.06 GB, free: 87.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/7.436, allocations: 0 / 3.06 GB, free: 87.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000741/7.437, allocations: 180.9 kB / 3.06 GB, free: 87.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.291e-05/7.437, allocations: 3.797 kB / 3.06 GB, free: 87.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.097e-05/7.437, allocations: 6.219 kB / 3.06 GB, free: 87.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/7.437, allocations: 3.688 kB / 3.06 GB, free: 87.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/7.437, allocations: 1.938 kB / 3.06 GB, free: 87.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/7.439, allocations: 1.164 MB / 3.061 GB, free: 87.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005446/7.439, allocations: 234.7 kB / 3.061 GB, free: 87.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/7.439, allocations: 6.656 kB / 3.061 GB, free: 87.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009946/7.44, allocations: 99.03 kB / 3.061 GB, free: 87.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/7.44, allocations: 42.8 kB / 3.061 GB, free: 87.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.437e-05/7.44, allocations: 25.78 kB / 3.062 GB, free: 87.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004487/7.441, allocations: 322.5 kB / 3.062 GB, free: 87.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/7.441, allocations: 0 / 3.062 GB, free: 87.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001592/7.442, allocations: 451.4 kB / 3.062 GB, free: 86.98 MB / 0.6042 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 () * 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.004107/7.447, allocations: 3.476 MB / 3.066 GB, free: 85.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009851/7.448, allocations: 0.6561 MB / 3.066 GB, free: 85.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/7.448, allocations: 2.344 kB / 3.066 GB, free: 85.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004087/7.448, allocations: 353.5 kB / 3.067 GB, free: 85.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/7.451, allocations: 0.4952 MB / 3.067 GB, free: 85.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/7.455, allocations: 1.938 MB / 3.069 GB, free: 85.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007476/7.455, allocations: 1.155 MB / 3.07 GB, free: 84.58 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001002/7.456, allocations: 251.8 kB / 3.07 GB, free: 84.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005609/7.457, allocations: 379 kB / 3.071 GB, free: 84.56 MB / 0.6042 GB Notification: Performance of SimCode: time 8.61e-07/7.457, allocations: 0 / 3.071 GB, free: 84.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05965/7.517, allocations: 35.56 MB / 3.105 GB, free: 70.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/7.517, allocations: 125.6 kB / 3.106 GB, free: 70.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.963/10.48, allocations: 0 / 3.106 GB, free: 70.54 MB / 0.6042 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)