Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8413/0.8413, allocations: 141.8 MB / 149.3 MB, free: 9.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001484, allocations: 172.8 kB / 182.2 MB, free: 9.445 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 221.5 MB / 436.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 83.88 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001853/0.001853, allocations: 268.9 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.175e-05/2.179e-05, allocations: 0 / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4729/0.4729, allocations: 82.78 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.88/5.353, allocations: 1.882 GB / 2.639 GB, free: 137.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/5.353, allocations: 87.42 kB / 2.639 GB, free: 137.2 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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.041/7.394, allocations: 0.6055 GB / 3.245 GB, free: 70.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.843e-06/7.395, allocations: 0 / 3.245 GB, free: 70.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.817e-05/7.395, allocations: 28.12 kB / 3.245 GB, free: 70.74 MB / 0.698 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.00441/7.399, allocations: 1.544 MB / 3.246 GB, free: 69.15 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/7.399, allocations: 8.031 kB / 3.246 GB, free: 69.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00229/7.401, allocations: 334.2 kB / 3.247 GB, free: 68.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/7.403, allocations: 0.8472 MB / 3.247 GB, free: 67.92 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/7.403, allocations: 32 kB / 3.247 GB, free: 67.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/7.403, allocations: 60 kB / 3.247 GB, free: 67.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001476/7.405, allocations: 0.9881 MB / 3.248 GB, free: 66.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/7.406, allocations: 0.9567 MB / 3.249 GB, free: 65.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/7.406, allocations: 3.906 kB / 3.249 GB, free: 65.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.778e-05/7.406, allocations: 0 / 3.249 GB, free: 65.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.986e-05/7.406, allocations: 66.06 kB / 3.249 GB, free: 65.79 MB / 0.698 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.005464/7.412, allocations: 4.84 MB / 3.254 GB, free: 60.51 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/7.414, allocations: 3.389 MB / 3.257 GB, free: 56.53 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004964/7.414, allocations: 451.3 kB / 3.258 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.992e-05/7.414, allocations: 16.91 kB / 3.258 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005178/7.415, allocations: 408.3 kB / 3.258 GB, free: 55.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.086e-06/7.415, allocations: 0 / 3.258 GB, free: 55.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.001186/7.416, allocations: 0.683 MB / 3.259 GB, free: 54.97 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/7.416, allocations: 68.19 kB / 3.259 GB, free: 54.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004627/7.417, allocations: 410.3 kB / 3.259 GB, free: 54.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.145e-05/7.417, allocations: 25.7 kB / 3.259 GB, free: 54.45 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/7.417, allocations: 463.4 kB / 3.26 GB, free: 53.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/7.417, allocations: 256.1 kB / 3.26 GB, free: 53.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/7.417, allocations: 0 / 3.26 GB, free: 53.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001064/7.417, allocations: 378.8 kB / 3.261 GB, free: 53.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/7.418, allocations: 261.5 kB / 3.261 GB, free: 53.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/7.418, allocations: 386.9 kB / 3.261 GB, free: 52.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/7.418, allocations: 336.5 kB / 3.261 GB, free: 52.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/7.418, allocations: 3.953 kB / 3.261 GB, free: 52.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009105/7.419, allocations: 0.761 MB / 3.262 GB, free: 51.58 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/7.419, allocations: 4 kB / 3.262 GB, free: 51.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/7.419, allocations: 4 kB / 3.262 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/7.419, allocations: 11.98 kB / 3.262 GB, free: 51.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000584/7.42, allocations: 151.8 kB / 3.262 GB, free: 51.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/7.42, allocations: 8 kB / 3.262 GB, free: 51.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/7.421, allocations: 115.5 kB / 3.262 GB, free: 51.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/7.421, allocations: 24 kB / 3.263 GB, free: 51.27 MB / 0.698 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.0001418/7.421, allocations: 124.8 kB / 3.263 GB, free: 51.14 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007963/7.422, allocations: 0.6751 MB / 3.263 GB, free: 50.46 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.457e-05/7.422, allocations: 79.16 kB / 3.263 GB, free: 50.38 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/7.422, allocations: 83.31 kB / 3.263 GB, free: 50.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/7.422, allocations: 8 kB / 3.263 GB, free: 50.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/7.422, allocations: 3.938 kB / 3.263 GB, free: 50.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007477/7.423, allocations: 0.9437 MB / 3.264 GB, free: 49.26 MB / 0.698 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.002813/7.426, allocations: 2.49 MB / 3.267 GB, free: 46.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/7.426, allocations: 3.953 kB / 3.267 GB, free: 46.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007364/7.427, allocations: 179.8 kB / 3.267 GB, free: 46.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.387e-06/7.427, allocations: 4 kB / 3.267 GB, free: 46.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/7.427, allocations: 11.98 kB / 3.267 GB, free: 46.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/7.427, allocations: 4 kB / 3.267 GB, free: 46.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/7.427, allocations: 0 / 3.267 GB, free: 46.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/7.428, allocations: 1.251 MB / 3.268 GB, free: 45.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004503/7.429, allocations: 236.1 kB / 3.268 GB, free: 44.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.891e-05/7.429, allocations: 0 / 3.268 GB, free: 44.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007889/7.429, allocations: 95.75 kB / 3.269 GB, free: 44.76 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/7.429, allocations: 40.72 kB / 3.269 GB, free: 44.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.497e-05/7.43, allocations: 27.98 kB / 3.269 GB, free: 44.69 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003225/7.43, allocations: 326.9 kB / 3.269 GB, free: 44.38 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/7.43, allocations: 4 kB / 3.269 GB, free: 44.37 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001158/7.431, allocations: 442.9 kB / 3.269 GB, free: 43.94 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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.003315/7.434, allocations: 3.56 MB / 3.273 GB, free: 40.26 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000872/7.435, allocations: 0.6532 MB / 3.273 GB, free: 39.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/7.435, allocations: 0 / 3.273 GB, free: 39.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000337/7.436, allocations: 354.8 kB / 3.274 GB, free: 39.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002568/7.438, allocations: 0.4989 MB / 3.274 GB, free: 38.78 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/7.441, allocations: 1.916 MB / 3.276 GB, free: 36.81 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/7.442, allocations: 1.163 MB / 3.277 GB, free: 35.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008673/7.443, allocations: 242.5 kB / 3.278 GB, free: 35.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004243/7.443, allocations: 371.3 kB / 3.278 GB, free: 35.02 MB / 0.698 GB Notification: Performance of SimCode: time 8.41e-07/7.443, allocations: 4 kB / 3.278 GB, free: 35.01 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.499/7.942, allocations: 35.55 MB / 3.313 GB, free: 125.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/7.943, allocations: 149.3 kB / 3.313 GB, free: 125.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.188/11.13, allocations: 0.5625 kB / 3.313 GB, free: 125.7 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)