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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 108 kB / 15.61 MB, free: 152 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.00131/0.00131, allocations: 197.7 kB / 16.53 MB, free: 6.664 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002127/0.002127, allocations: 274.9 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9195/0.9195, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 105.6 kB / 0.5954 GB, free: 27.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1225, allocations: 86.97 MB / 0.6803 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.422/0.5445, allocations: 204.1 MB / 0.8796 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008653/0.5532, allocations: 6.371 MB / 0.8859 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006897/0.5539, allocations: 36.97 kB / 0.8859 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.5554, allocations: 0.723 MB / 0.8866 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004835/0.5603, allocations: 2.689 MB / 0.8892 GB, free: 13.07 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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.001348/0.5616, allocations: 0.6939 MB / 0.8899 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002759/0.5644, allocations: 3.271 MB / 0.8931 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.5655, allocations: 1.144 MB / 0.8942 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.5669, allocations: 1.245 MB / 0.8954 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001481/0.5684, allocations: 1.098 MB / 0.8965 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.5686, allocations: 125.5 kB / 0.8966 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003449/0.572, allocations: 2.361 MB / 0.8989 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004381/0.5725, allocations: 0.5155 MB / 0.8994 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006651/0.5731, allocations: 0.7391 MB / 0.9002 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00295/0.5761, allocations: 2.778 MB / 0.9029 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5761, allocations: 0 / 0.9029 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5761, allocations: 4 kB / 0.9029 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.421e-05/0.5761, allocations: 0 / 0.9029 GB, free: 3.34 MB / 0.6075 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.003622/0.5798, allocations: 1.773 MB / 0.9046 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.5798, allocations: 8.031 kB / 0.9046 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001848/0.58, allocations: 160.6 kB / 0.9048 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/0.5822, allocations: 346.2 kB / 0.9051 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.5834, allocations: 0.8427 MB / 0.9059 GB, free: 116 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.493e-05/0.5834, allocations: 82 kB / 0.906 GB, free: 32 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.5836, allocations: 96.05 kB / 0.9061 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.5853, allocations: 1.191 MB / 0.9073 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.5854, allocations: 0 / 0.9073 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.5855, allocations: 44 kB / 0.9073 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.099e-05/0.5856, allocations: 62.06 kB / 0.9074 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.5874, allocations: 1.249 MB / 0.9086 GB, free: 13.35 MB / 0.6231 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.00562/0.593, allocations: 5.147 MB / 0.9136 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.5944, allocations: 1.158 MB / 0.9147 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006807/0.5951, allocations: 0.5007 MB / 0.9152 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.302e-05/0.5952, allocations: 16.64 kB / 0.9152 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006805/0.5958, allocations: 488.2 kB / 0.9157 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.054e-06/0.5959, allocations: 4 kB / 0.9157 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.001807/0.5977, allocations: 1.157 MB / 0.9168 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.5977, allocations: 56.06 kB / 0.9169 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005913/0.5983, allocations: 0.5744 MB / 0.9175 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.095e-05/0.5984, allocations: 41.7 kB / 0.9175 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.5986, allocations: 467.6 kB / 0.9179 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.5988, allocations: 272.2 kB / 0.9182 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.599, allocations: 126.7 kB / 0.9183 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.5992, allocations: 386.8 kB / 0.9187 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004771/0.5997, allocations: 329.8 kB / 0.919 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005468/0.6002, allocations: 452.7 kB / 0.9194 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.6013, allocations: 0.8155 MB / 0.9202 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.6013, allocations: 4 kB / 0.9202 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001296/0.6026, allocations: 0.9353 MB / 0.9211 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.6026, allocations: 7.938 kB / 0.9212 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.6027, allocations: 4 kB / 0.9212 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.6027, allocations: 11.94 kB / 0.9212 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000647/0.6033, allocations: 151.8 kB / 0.9213 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.6034, allocations: 9.562 kB / 0.9213 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006817/0.604, allocations: 67.61 kB / 0.9214 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-05/0.6041, allocations: 28 kB / 0.9214 GB, free: 15.52 MB / 0.6387 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.0003751/0.6045, allocations: 333.9 kB / 0.9217 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.6046, allocations: 83.05 kB / 0.9218 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.6048, allocations: 103.8 kB / 0.9219 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.6048, allocations: 11.94 kB / 0.9219 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6048, allocations: 0 / 0.9219 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001165/0.606, allocations: 1.089 MB / 0.923 GB, free: 13.8 MB / 0.6387 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.002803/0.6088, allocations: 2.313 MB / 0.9252 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.6088, allocations: 4 kB / 0.9253 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008332/0.6097, allocations: 175.8 kB / 0.9254 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.6097, allocations: 0 / 0.9254 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.127e-05/0.6097, allocations: 25.77 kB / 0.9254 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.6098, allocations: 4 kB / 0.9254 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6098, allocations: 3.938 kB / 0.9255 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.6115, allocations: 1.358 MB / 0.9268 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000317/0.6118, allocations: 248 kB / 0.927 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.6119, allocations: 19.98 kB / 0.927 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006365/0.6126, allocations: 17.12 kB / 0.927 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.762e-05/0.6127, allocations: 52.59 kB / 0.9271 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.404e-05/0.6127, allocations: 23.98 kB / 0.9271 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004239/0.6132, allocations: 411.1 kB / 0.9275 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6132, allocations: 0 / 0.9275 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007474/0.6139, allocations: 371 kB / 0.9279 GB, free: 8.684 MB / 0.6387 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.002039/0.616, allocations: 1.974 MB / 0.9298 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001674/0.6176, allocations: 1.032 MB / 0.9308 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6177, allocations: 4 kB / 0.9308 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006682/0.6183, allocations: 427.5 kB / 0.9312 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/0.6209, allocations: 0.5929 MB / 0.9318 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00891/0.6298, allocations: 7.494 MB / 0.9391 GB, free: 13 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000658/0.6305, allocations: 1.139 MB / 0.9402 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000951/0.6315, allocations: 275.1 kB / 0.9405 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005075/0.632, allocations: 379.3 kB / 0.9408 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of SimCode: time 5.61e-07/0.632, allocations: 0 / 0.9408 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.416/3.048, allocations: 25.73 MB / 0.966 GB, free: 1.797 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/14.21, allocations: 12.62 kB / 0.966 GB, free: 1.785 MB / 0.67 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/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)