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.0073/0.0073, allocations: 106.1 kB / 15.74 MB, free: 6.035 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.001606/0.001606, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002317/0.002317, allocations: 279 kB / 290.8 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9663/0.9663, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 92.66 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2051, allocations: 86.98 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.7276/0.9327, allocations: 204.1 MB / 0.9652 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01049/0.9432, allocations: 6.386 MB / 0.9715 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.9449, allocations: 35.81 kB / 0.9715 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001991/0.9469, allocations: 0.7305 MB / 0.9722 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006402/0.9533, allocations: 2.676 MB / 0.9748 GB, free: 13.14 MB / 0.7325 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.001842/0.9552, allocations: 0.7087 MB / 0.9755 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004122/0.9593, allocations: 3.278 MB / 0.9787 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001583/0.9609, allocations: 1.143 MB / 0.9799 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002586/0.9635, allocations: 1.257 MB / 0.9811 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002381/0.9659, allocations: 1.093 MB / 0.9821 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002592/0.9662, allocations: 132 kB / 0.9823 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004878/0.9711, allocations: 2.358 MB / 0.9846 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006717/0.9718, allocations: 0.5182 MB / 0.9851 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.9729, allocations: 0.7391 MB / 0.9858 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005472/0.9784, allocations: 2.797 MB / 0.9885 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.9784, allocations: 0 / 0.9885 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9784, allocations: 0 / 0.9885 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.754e-05/0.9785, allocations: 0 / 0.9885 GB, free: 15.07 MB / 0.7481 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.004366/0.9828, allocations: 1.769 MB / 0.9903 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.9829, allocations: 12.03 kB / 0.9903 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002218/0.9831, allocations: 160.6 kB / 0.9904 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002267/0.9854, allocations: 354.8 kB / 0.9908 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.9868, allocations: 0.8779 MB / 0.9916 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.637e-05/0.9869, allocations: 78 kB / 0.9917 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.9871, allocations: 96 kB / 0.9918 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.989, allocations: 1.195 MB / 0.993 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/0.989, allocations: 3.906 kB / 0.993 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.9891, allocations: 40 kB / 0.993 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.714e-05/0.9892, allocations: 58.08 kB / 0.9931 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.991, allocations: 1.257 MB / 0.9943 GB, free: 9.043 MB / 0.7481 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.006563/0.9976, allocations: 5.091 MB / 0.9993 GB, free: 3.492 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.999, allocations: 1.172 MB / 1 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006833/0.9997, allocations: 0.5051 MB / 1.001 GB, free: 1.738 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.977e-05/0.9998, allocations: 12.64 kB / 1.001 GB, free: 1.727 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007736/1.001, allocations: 480.2 kB / 1.001 GB, free: 1.246 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 4.609e-06/1.001, allocations: 7.938 kB / 1.001 GB, free: 1.238 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.001919/1.003, allocations: 1.161 MB / 1.003 GB, free: 72 kB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/1.003, allocations: 60.06 kB / 1.003 GB, free: 0 / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007143/1.003, allocations: 0.5782 MB / 1.003 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.66e-05/1.003, allocations: 41.7 kB / 1.003 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003014/1.004, allocations: 455.7 kB / 1.004 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/1.004, allocations: 272.1 kB / 1.004 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/1.004, allocations: 134.6 kB / 1.004 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001824/1.004, allocations: 390.8 kB / 1.004 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/1.005, allocations: 325.8 kB / 1.005 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005311/1.005, allocations: 452.6 kB / 1.005 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/1.006, allocations: 0.8194 MB / 1.006 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.006, allocations: 0 / 1.006 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001406/1.008, allocations: 0.9377 MB / 1.007 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/1.008, allocations: 8 kB / 1.007 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.008, allocations: 4 kB / 1.007 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/1.008, allocations: 7.938 kB / 1.007 GB, free: 11.49 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007993/1.009, allocations: 155.8 kB / 1.007 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/1.009, allocations: 4 kB / 1.007 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007291/1.01, allocations: 63.36 kB / 1.007 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/1.01, allocations: 24 kB / 1.007 GB, free: 11.25 MB / 0.7637 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.000497/1.01, allocations: 334 kB / 1.007 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/1.01, allocations: 79.06 kB / 1.007 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/1.01, allocations: 115.7 kB / 1.008 GB, free: 10.72 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.996e-06/1.01, allocations: 8 kB / 1.008 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/1.011, allocations: 0 / 1.008 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001204/1.012, allocations: 1.089 MB / 1.009 GB, free: 9.539 MB / 0.7637 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.003131/1.015, allocations: 2.311 MB / 1.011 GB, free: 7.141 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/1.015, allocations: 4.031 kB / 1.011 GB, free: 7.137 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008263/1.016, allocations: 171.8 kB / 1.011 GB, free: 6.969 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/1.016, allocations: 4 kB / 1.011 GB, free: 6.965 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/1.016, allocations: 16 kB / 1.011 GB, free: 6.949 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/1.016, allocations: 4 kB / 1.011 GB, free: 6.945 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.016, allocations: 5.734 kB / 1.011 GB, free: 6.941 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/1.018, allocations: 1.359 MB / 1.012 GB, free: 5.559 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004414/1.018, allocations: 256 kB / 1.013 GB, free: 5.289 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/1.018, allocations: 12 kB / 1.013 GB, free: 5.277 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005996/1.019, allocations: 26.05 kB / 1.013 GB, free: 5.254 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.617e-05/1.019, allocations: 40.59 kB / 1.013 GB, free: 5.215 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.592e-05/1.019, allocations: 27.98 kB / 1.013 GB, free: 5.188 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005101/1.02, allocations: 411.1 kB / 1.013 GB, free: 4.789 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.01e-07/1.02, allocations: 0 / 1.013 GB, free: 4.789 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001012/1.021, allocations: 371.1 kB / 1.014 GB, free: 4.426 MB / 0.7637 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.002111/1.023, allocations: 1.975 MB / 1.015 GB, free: 2.422 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001152/1.024, allocations: 0.8025 MB / 1.016 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.024, allocations: 4.188 kB / 1.016 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005402/1.024, allocations: 427.4 kB / 1.017 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/1.027, allocations: 0.5973 MB / 1.017 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009656/1.036, allocations: 7.249 MB / 1.024 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006969/1.037, allocations: 1.14 MB / 1.025 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0009443/1.038, allocations: 279.1 kB / 1.026 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005256/1.039, allocations: 375.3 kB / 1.026 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of SimCode: time 1.934e-06/1.039, allocations: 0 / 1.026 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05485/1.094, allocations: 26.35 MB / 1.052 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.339/10.43, allocations: 11.17 kB / 1.052 GB, free: 13.41 MB / 0.8106 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)