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.001109/0.00111, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5726/0.5726, allocations: 90.8 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 221.3 MB / 348.3 MB, free: 444 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009364/0.0009364, allocations: 97.17 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.904e-05/3.908e-05, allocations: 4 kB / 0.4897 GB, free: 5.266 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4346/0.4347, allocations: 72.3 MB / 0.5603 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.71/6.145, allocations: 1.875 GB / 2.436 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/6.146, allocations: 86.8 kB / 2.436 GB, free: 151.4 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.818/8.964, allocations: 0.6155 GB / 3.051 GB, free: 104.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.274e-06/8.964, allocations: 0 / 3.051 GB, free: 104.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.327e-05/8.964, allocations: 34.09 kB / 3.051 GB, free: 104.2 MB / 0.6198 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.004605/8.968, allocations: 1.55 MB / 3.053 GB, free: 103.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/8.969, allocations: 13.48 kB / 3.053 GB, free: 103.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002966/8.969, allocations: 160.4 kB / 3.053 GB, free: 103.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002372/8.971, allocations: 335.9 kB / 3.053 GB, free: 103.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/8.973, allocations: 0.8609 MB / 3.054 GB, free: 103.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.811e-05/8.973, allocations: 80.2 kB / 3.054 GB, free: 103.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/8.974, allocations: 103.8 kB / 3.054 GB, free: 103.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/8.976, allocations: 1.097 MB / 3.055 GB, free: 103.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/8.976, allocations: 0.6562 kB / 3.055 GB, free: 103.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/8.976, allocations: 47.08 kB / 3.056 GB, free: 103.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.332e-05/8.976, allocations: 67.08 kB / 3.056 GB, free: 103.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/8.978, allocations: 1.149 MB / 3.057 GB, free: 103.4 MB / 0.6198 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.006386/8.984, allocations: 5.048 MB / 3.062 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/8.985, allocations: 0.9688 MB / 3.063 GB, free: 100.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000619/8.986, allocations: 0.4971 MB / 3.063 GB, free: 100.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.478e-05/8.986, allocations: 20.61 kB / 3.063 GB, free: 100.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006699/8.987, allocations: 484.4 kB / 3.064 GB, free: 100.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=76): time 3.798e-06/8.987, allocations: 3.594 kB / 3.064 GB, free: 100.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76): time 0.00155/8.988, allocations: 0.8413 MB / 3.064 GB, free: 100.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/8.988, allocations: 62.12 kB / 3.064 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006204/8.989, allocations: 0.507 MB / 3.065 GB, free: 100.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.172e-05/8.989, allocations: 40.14 kB / 3.065 GB, free: 100.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/8.989, allocations: 461.1 kB / 3.065 GB, free: 100.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/8.989, allocations: 271 kB / 3.066 GB, free: 100 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/8.989, allocations: 13.5 kB / 3.066 GB, free: 100 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001175/8.99, allocations: 384 kB / 3.066 GB, free: 99.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004261/8.99, allocations: 328.3 kB / 3.066 GB, free: 99.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004766/8.991, allocations: 447.8 kB / 3.067 GB, free: 99.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005494/8.991, allocations: 399.9 kB / 3.067 GB, free: 99.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/8.991, allocations: 0 / 3.067 GB, free: 99.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001197/8.992, allocations: 0.9321 MB / 3.068 GB, free: 99.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/8.992, allocations: 10.81 kB / 3.068 GB, free: 99.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/8.992, allocations: 0 / 3.068 GB, free: 99.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/8.992, allocations: 7.719 kB / 3.068 GB, free: 99.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00068/8.993, allocations: 163.2 kB / 3.068 GB, free: 99.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/8.993, allocations: 3.969 kB / 3.068 GB, free: 99.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/8.994, allocations: 164.2 kB / 3.068 GB, free: 99.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.036e-05/8.994, allocations: 21.94 kB / 3.068 GB, free: 99.5 MB / 0.6198 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.0001524/8.994, allocations: 144.1 kB / 3.069 GB, free: 99.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/8.995, allocations: 88.05 kB / 3.069 GB, free: 99.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002833/8.995, allocations: 112.1 kB / 3.069 GB, free: 99.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/8.995, allocations: 7.688 kB / 3.069 GB, free: 99.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/8.995, allocations: 3.516 kB / 3.069 GB, free: 99.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001088/8.996, allocations: 1.094 MB / 3.07 GB, free: 98.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003376/8.999, allocations: 2.192 MB / 3.072 GB, free: 98.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/8.999, allocations: 3.875 kB / 3.072 GB, free: 98.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009127/9, allocations: 170.9 kB / 3.072 GB, free: 98.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/9, allocations: 7.75 kB / 3.072 GB, free: 98.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.114e-05/9, allocations: 24.97 kB / 3.072 GB, free: 98.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/9, allocations: 3.281 kB / 3.072 GB, free: 98.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/9, allocations: 6.312 kB / 3.072 GB, free: 98.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/9.002, allocations: 1.361 MB / 3.074 GB, free: 98.28 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004923/9.003, allocations: 258.7 kB / 3.074 GB, free: 98.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/9.003, allocations: 14.03 kB / 3.074 GB, free: 98.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007967/9.003, allocations: 100.7 kB / 3.074 GB, free: 98.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.677e-05/9.004, allocations: 42.22 kB / 3.074 GB, free: 98.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/9.004, allocations: 24.78 kB / 3.074 GB, free: 98.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004279/9.004, allocations: 416 kB / 3.074 GB, free: 98.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/9.004, allocations: 0 / 3.074 GB, free: 98.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001395/9.005, allocations: 0.5102 MB / 3.075 GB, free: 98.02 MB / 0.6198 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.003827/9.009, allocations: 3.47 MB / 3.078 GB, free: 96.83 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001091/9.01, allocations: 0.7982 MB / 3.079 GB, free: 96.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/9.01, allocations: 2.656 kB / 3.079 GB, free: 96.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004991/9.011, allocations: 427.8 kB / 3.079 GB, free: 96.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/9.014, allocations: 0.5483 MB / 3.08 GB, free: 96.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/9.017, allocations: 2.077 MB / 3.082 GB, free: 96.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/9.018, allocations: 1.161 MB / 3.083 GB, free: 95.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00103/9.019, allocations: 272.9 kB / 3.083 GB, free: 95.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004609/9.019, allocations: 376.9 kB / 3.084 GB, free: 95.64 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/9.019, allocations: 0 / 3.084 GB, free: 95.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0797/9.099, allocations: 55.21 MB / 3.138 GB, free: 94.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001433/9.099, allocations: 143.8 kB / 3.138 GB, free: 93.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.727/12.83, allocations: 0 / 3.138 GB, free: 93.94 MB / 0.6198 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)