Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_8_Buildings_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.0007434/0.0007434, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000839/0.000839, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.186/1.186, allocations: 205.4 MB / 222.1 MB, free: 5.871 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.518/1.518, allocations: 292.7 MB / 0.5499 GB, free: 14.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004597, allocations: 13.47 kB / 0.6738 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1698, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.4921/0.6618, allocations: 185.9 MB / 0.9689 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007847/0.6697, allocations: 5.898 MB / 0.9747 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009659/0.6707, allocations: 29.25 kB / 0.9747 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.672, allocations: 495.2 kB / 0.9752 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004238/0.6762, allocations: 1.926 MB / 0.9771 GB, free: 3.145 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.001157/0.6774, allocations: 495 kB / 0.9775 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003409/0.6808, allocations: 4.005 MB / 0.9814 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008355/0.6816, allocations: 0.8124 MB / 0.9822 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.683, allocations: 1.051 MB / 0.9833 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.684, allocations: 1.053 MB / 0.9843 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.733e-05/0.6841, allocations: 56.25 kB / 0.9843 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002471/0.6866, allocations: 1.133 MB / 0.9855 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000318/0.6869, allocations: 443.8 kB / 0.9859 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000301/0.6872, allocations: 285.5 kB / 0.9861 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.6885, allocations: 1.829 MB / 0.9879 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.6885, allocations: 0 / 0.9879 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6885, allocations: 0 / 0.9879 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.6885, allocations: 0 / 0.9879 GB, free: 16.54 MB / 0.7325 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.002757/0.6913, allocations: 1.54 MB / 0.9894 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.6914, allocations: 8.438 kB / 0.9894 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/0.6915, allocations: 167.3 kB / 0.9896 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00183/0.6934, allocations: 343.9 kB / 0.9899 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.6944, allocations: 0.8035 MB / 0.9907 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.6945, allocations: 81.78 kB / 0.9908 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.6946, allocations: 104 kB / 0.9909 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.6962, allocations: 1.18 MB / 0.992 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.6962, allocations: 0 / 0.992 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.3e-05/0.6963, allocations: 42.83 kB / 0.9921 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.664e-05/0.6963, allocations: 63.31 kB / 0.9922 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.6978, allocations: 1.237 MB / 0.9934 GB, free: 14.32 MB / 0.7325 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.004794/0.7026, allocations: 5.057 MB / 0.9983 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.7038, allocations: 1.145 MB / 0.9994 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005584/0.7043, allocations: 0.5092 MB / 0.9999 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.592e-05/0.7044, allocations: 19.06 kB / 0.9999 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005736/0.705, allocations: 480.2 kB / 1 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.304e-06/0.705, allocations: 0 / 1 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.001534/0.7065, allocations: 1.145 MB / 1.002 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.7066, allocations: 64.5 kB / 1.002 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005082/0.7071, allocations: 0.559 MB / 1.002 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.987e-05/0.7071, allocations: 44.53 kB / 1.002 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.7074, allocations: 453.6 kB / 1.003 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.7076, allocations: 266.7 kB / 1.003 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.7076, allocations: 14.22 kB / 1.003 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.7077, allocations: 387.8 kB / 1.003 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003731/0.7081, allocations: 324.4 kB / 1.004 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004414/0.7086, allocations: 464.5 kB / 1.004 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/0.709, allocations: 402 kB / 1.004 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.709, allocations: 0 / 1.004 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001062/0.7101, allocations: 0.9218 MB / 1.005 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.7101, allocations: 9.375 kB / 1.005 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.7101, allocations: 1.875 kB / 1.005 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.7102, allocations: 8.031 kB / 1.005 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005605/0.7107, allocations: 155.8 kB / 1.005 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.7108, allocations: 5.094 kB / 1.005 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007918/0.7116, allocations: 137.4 kB / 1.006 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/0.7116, allocations: 28.09 kB / 1.006 GB, free: 8.406 MB / 0.7325 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.000366/0.712, allocations: 339.4 kB / 1.006 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.593e-05/0.7121, allocations: 80.78 kB / 1.006 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/0.7123, allocations: 107.5 kB / 1.006 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.7123, allocations: 5.938 kB / 1.006 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.7123, allocations: 0 / 1.006 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000978/0.7133, allocations: 1.082 MB / 1.007 GB, free: 7.648 MB / 0.7325 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.002605/0.7159, allocations: 2.304 MB / 1.009 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.7159, allocations: 0 / 1.009 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00071/0.7166, allocations: 175.3 kB / 1.01 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.7167, allocations: 7.609 kB / 1.01 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.693e-05/0.7167, allocations: 25.56 kB / 1.01 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.7167, allocations: 2.906 kB / 1.01 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.7167, allocations: 8.016 kB / 1.01 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.7183, allocations: 1.474 MB / 1.011 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003239/0.7186, allocations: 248.8 kB / 1.011 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.449e-05/0.7187, allocations: 22.05 kB / 1.011 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006491/0.7194, allocations: 89.62 kB / 1.011 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.697e-05/0.7194, allocations: 45.62 kB / 1.011 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.69e-05/0.7195, allocations: 33.92 kB / 1.011 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003766/0.7199, allocations: 400.7 kB / 1.012 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7199, allocations: 0 / 1.012 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007738/0.7207, allocations: 369 kB / 1.012 GB, free: 5.918 MB / 0.7325 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 () * 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.001875/0.7225, allocations: 2.098 MB / 1.014 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009322/0.7235, allocations: 0.7983 MB / 1.015 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7235, allocations: 3.312 kB / 1.015 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00045/0.724, allocations: 426.2 kB / 1.015 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/0.726, allocations: 0.5685 MB / 1.016 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00668/0.7327, allocations: 5.794 MB / 1.022 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/0.7333, allocations: 1.137 MB / 1.023 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008687/0.7342, allocations: 270.6 kB / 1.023 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004139/0.7346, allocations: 374.2 kB / 1.023 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of SimCode: time 1.974e-06/0.7346, allocations: 3.125 kB / 1.023 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03628/0.7709, allocations: 25.84 MB / 1.049 GB, free: 8.875 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.7711, allocations: 180.3 kB / 1.049 GB, free: 8.633 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.667, allocations: 2.75 kB / 1.049 GB, free: 8.633 MB / 0.7637 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) Environment - environmentSimulation: