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.005076/0.005076, allocations: 101 kB / 15.73 MB, free: 6.055 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.00129/0.00129, allocations: 192.3 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00258/0.00258, allocations: 280.4 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9959/0.9959, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002731/0.002731, allocations: 99.83 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3777, allocations: 86.98 MB / 0.7659 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.5884/0.9661, allocations: 204.1 MB / 0.9653 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0088/0.975, allocations: 6.378 MB / 0.9715 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.9762, allocations: 33.22 kB / 0.9715 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.9778, allocations: 0.7306 MB / 0.9722 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005807/0.9836, allocations: 2.669 MB / 0.9748 GB, free: 1.672 MB / 0.7169 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.001612/0.9852, allocations: 0.7113 MB / 0.9755 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003165/0.9884, allocations: 3.274 MB / 0.9787 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.9895, allocations: 1.145 MB / 0.9798 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.9912, allocations: 1.25 MB / 0.9811 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.993, allocations: 1.098 MB / 0.9821 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.9931, allocations: 130.8 kB / 0.9823 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003892/0.997, allocations: 2.355 MB / 0.9846 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004386/0.9975, allocations: 0.5097 MB / 0.9851 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007694/0.9983, allocations: 0.7419 MB / 0.9858 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00358/1.002, allocations: 2.805 MB / 0.9885 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.002, allocations: 2.062 kB / 0.9885 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/1.002, allocations: 0.75 kB / 0.9885 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.709e-05/1.002, allocations: 0 / 0.9885 GB, free: 1.352 MB / 0.7169 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.003561/1.005, allocations: 1.81 MB / 0.9903 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/1.006, allocations: 7.812 kB / 0.9903 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001806/1.006, allocations: 162.2 kB / 0.9905 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002101/1.008, allocations: 358.1 kB / 0.9908 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/1.009, allocations: 0.8696 MB / 0.9916 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/1.009, allocations: 81.41 kB / 0.9917 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/1.009, allocations: 102.8 kB / 0.9918 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/1.011, allocations: 1.191 MB / 0.993 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/1.011, allocations: 4.703 kB / 0.993 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-05/1.011, allocations: 43.89 kB / 0.993 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-05/1.011, allocations: 59.67 kB / 0.9931 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/1.013, allocations: 1.247 MB / 0.9943 GB, free: 15.95 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.00573/1.018, allocations: 5.123 MB / 0.9993 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/1.02, allocations: 1.157 MB / 1 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005921/1.02, allocations: 0.5022 MB / 1.001 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-05/1.02, allocations: 18.16 kB / 1.001 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006204/1.021, allocations: 490.2 kB / 1.001 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.404e-06/1.021, allocations: 0.75 kB / 1.001 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.001675/1.023, allocations: 1.165 MB / 1.003 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/1.023, allocations: 64.91 kB / 1.003 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005994/1.023, allocations: 0.5704 MB / 1.003 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.091e-05/1.024, allocations: 42.27 kB / 1.003 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/1.024, allocations: 473.7 kB / 1.004 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/1.024, allocations: 281.8 kB / 1.004 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/1.024, allocations: 132.4 kB / 1.004 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002013/1.025, allocations: 382.8 kB / 1.004 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004161/1.025, allocations: 334.7 kB / 1.005 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004979/1.025, allocations: 450.4 kB / 1.005 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009718/1.026, allocations: 0.8255 MB / 1.006 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.026, allocations: 0.6875 kB / 1.006 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001264/1.028, allocations: 0.929 MB / 1.007 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.028, allocations: 6.875 kB / 1.007 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.028, allocations: 4.062 kB / 1.007 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/1.028, allocations: 5.5 kB / 1.007 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/1.028, allocations: 161.2 kB / 1.007 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/1.028, allocations: 7.344 kB / 1.007 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007151/1.029, allocations: 68 kB / 1.007 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.077e-05/1.029, allocations: 25.47 kB / 1.007 GB, free: 11.56 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004545/1.03, allocations: 337 kB / 1.007 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/1.03, allocations: 89.09 kB / 1.008 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/1.03, allocations: 110.8 kB / 1.008 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/1.03, allocations: 10.41 kB / 1.008 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/1.03, allocations: 0 / 1.008 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001198/1.031, allocations: 1.093 MB / 1.009 GB, free: 10.93 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.002738/1.034, allocations: 2.312 MB / 1.011 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/1.034, allocations: 1 kB / 1.011 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007849/1.035, allocations: 177.2 kB / 1.011 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/1.035, allocations: 3.219 kB / 1.011 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.917e-05/1.035, allocations: 17.7 kB / 1.011 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/1.035, allocations: 3.594 kB / 1.011 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.035, allocations: 2.219 kB / 1.011 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/1.037, allocations: 1.359 MB / 1.013 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003415/1.037, allocations: 260.2 kB / 1.013 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/1.037, allocations: 13.16 kB / 1.013 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000595/1.038, allocations: 26.52 kB / 1.013 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.362e-05/1.038, allocations: 44.72 kB / 1.013 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.033e-05/1.038, allocations: 28.58 kB / 1.013 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004191/1.038, allocations: 413.1 kB / 1.013 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/1.038, allocations: 0 / 1.013 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008095/1.039, allocations: 372.1 kB / 1.014 GB, free: 9.91 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.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.00207/1.041, allocations: 1.977 MB / 1.016 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00101/1.042, allocations: 0.8046 MB / 1.016 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.042, allocations: 1.062 kB / 1.016 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004512/1.043, allocations: 434.2 kB / 1.017 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002388/1.045, allocations: 0.5815 MB / 1.017 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009042/1.054, allocations: 7.285 MB / 1.024 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007522/1.055, allocations: 1.143 MB / 1.026 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009622/1.056, allocations: 270.7 kB / 1.026 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004653/1.056, allocations: 379.3 kB / 1.026 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of SimCode: time 6.72e-07/1.056, allocations: 0 / 1.026 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05813/1.114, allocations: 25.93 MB / 1.051 GB, free: 2.531 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.409/10.52, allocations: 12.69 kB / 1.052 GB, free: 2.52 MB / 0.7481 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)