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.004857/0.004857, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001262/0.001262, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00245/0.00245, allocations: 286.9 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 1.171/1.171, allocations: 178.5 MB / 0.5074 GB, free: 12.6 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00265/0.00265, allocations: 99.84 kB / 0.6943 GB, free: 15.22 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.41, allocations: 89.13 MB / 0.7813 GB, free: 1.164 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.2271/0.6372, allocations: 204.2 MB / 0.9807 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01051/0.6477, allocations: 6.383 MB / 0.9869 GB, free: 5.496 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.6492, allocations: 39.81 kB / 0.987 GB, free: 5.457 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.6514, allocations: 0.7304 MB / 0.9877 GB, free: 4.723 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00672/0.6581, allocations: 2.67 MB / 0.9903 GB, free: 2.043 MB / 0.7481 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.002046/0.6602, allocations: 0.7196 MB / 0.991 GB, free: 1.332 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.4197/1.08, allocations: 3.269 MB / 0.9942 GB, free: 4.559 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001843/1.082, allocations: 1.13 MB / 0.9953 GB, free: 4.453 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002796/1.085, allocations: 1.246 MB / 0.9965 GB, free: 4.453 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/1.087, allocations: 1.105 MB / 0.9976 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003801/1.088, allocations: 129.5 kB / 0.9977 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005033/1.093, allocations: 2.362 MB / 1 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0009915/1.094, allocations: 0.5113 MB / 1.001 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001934/1.096, allocations: 0.7373 MB / 1.001 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006899/1.103, allocations: 2.809 MB / 1.004 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.103, allocations: 4.188 kB / 1.004 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.024e-06/1.103, allocations: 0.7812 kB / 1.004 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.549e-05/1.103, allocations: 0.75 kB / 1.004 GB, free: 4.301 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.005197/1.108, allocations: 1.803 MB / 1.006 GB, free: 19.44 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/1.108, allocations: 13.59 kB / 1.006 GB, free: 19.44 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002255/1.108, allocations: 164.4 kB / 1.006 GB, free: 19.4 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/1.111, allocations: 355.5 kB / 1.006 GB, free: 19.33 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/1.113, allocations: 0.8771 MB / 1.007 GB, free: 19.01 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.255e-05/1.113, allocations: 74.86 kB / 1.007 GB, free: 19 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002213/1.113, allocations: 102.3 kB / 1.007 GB, free: 19 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/1.115, allocations: 1.195 MB / 1.008 GB, free: 18.92 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/1.115, allocations: 4.766 kB / 1.008 GB, free: 18.92 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/1.115, allocations: 43.22 kB / 1.008 GB, free: 18.92 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.51e-05/1.115, allocations: 60.47 kB / 1.009 GB, free: 18.91 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/1.117, allocations: 1.247 MB / 1.01 GB, free: 18.9 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 preOpt removeSimpleEquations (simulation): time 0.006799/1.124, allocations: 5.118 MB / 1.015 GB, free: 16.41 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/1.126, allocations: 1.156 MB / 1.016 GB, free: 16 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006793/1.126, allocations: 0.5047 MB / 1.016 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 6.113e-05/1.126, allocations: 15.03 kB / 1.016 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006747/1.127, allocations: 490.9 kB / 1.017 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=76): time 2.966e-06/1.127, allocations: 1.875 kB / 1.017 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of matching and sorting (n=76): time 0.001743/1.129, allocations: 1.154 MB / 1.018 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/1.129, allocations: 68.83 kB / 1.018 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006438/1.13, allocations: 0.5699 MB / 1.019 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.898e-05/1.13, allocations: 40.33 kB / 1.019 GB, free: 15.63 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/1.13, allocations: 475.5 kB / 1.019 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/1.13, allocations: 281.1 kB / 1.019 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/1.13, allocations: 130.6 kB / 1.019 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001704/1.131, allocations: 384.9 kB / 1.02 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004078/1.131, allocations: 333 kB / 1.02 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004489/1.131, allocations: 450.1 kB / 1.021 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009121/1.132, allocations: 0.8227 MB / 1.021 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.132, allocations: 4.906 kB / 1.021 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001234/1.134, allocations: 0.9356 MB / 1.022 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/1.134, allocations: 5.781 kB / 1.022 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/1.134, allocations: 1.812 kB / 1.022 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/1.134, allocations: 7.281 kB / 1.022 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006278/1.134, allocations: 152.9 kB / 1.022 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/1.134, allocations: 9.75 kB / 1.023 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008162/1.135, allocations: 64.89 kB / 1.023 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/1.135, allocations: 23.44 kB / 1.023 GB, free: 14.55 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.0005199/1.136, allocations: 340.4 kB / 1.023 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/1.136, allocations: 83.58 kB / 1.023 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/1.136, allocations: 111.8 kB / 1.023 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/1.136, allocations: 8.562 kB / 1.023 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.136, allocations: 0.75 kB / 1.023 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001146/1.137, allocations: 1.092 MB / 1.024 GB, free: 13.91 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.003014/1.14, allocations: 2.308 MB / 1.026 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/1.14, allocations: 4.594 kB / 1.026 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008015/1.141, allocations: 176.3 kB / 1.027 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/1.141, allocations: 4.75 kB / 1.027 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-05/1.141, allocations: 24.08 kB / 1.027 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/1.141, allocations: 6.312 kB / 1.027 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.141, allocations: 0.8438 kB / 1.027 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/1.143, allocations: 1.357 MB / 1.028 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004635/1.143, allocations: 252.8 kB / 1.028 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/1.144, allocations: 15.31 kB / 1.028 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006939/1.144, allocations: 27.28 kB / 1.028 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.433e-05/1.144, allocations: 43.61 kB / 1.028 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.577e-05/1.144, allocations: 25.84 kB / 1.028 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005033/1.145, allocations: 413.3 kB / 1.029 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.81e-07/1.145, allocations: 0 / 1.029 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001049/1.146, allocations: 371.5 kB / 1.029 GB, free: 12.91 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.002095/1.148, allocations: 1.973 MB / 1.031 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001096/1.149, allocations: 0.7999 MB / 1.032 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.149, allocations: 1.969 kB / 1.032 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004683/1.15, allocations: 430.6 kB / 1.032 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002994/1.153, allocations: 0.5857 MB / 1.033 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00988/1.163, allocations: 7.284 MB / 1.04 GB, free: 9.969 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008223/1.163, allocations: 1.138 MB / 1.041 GB, free: 9.258 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009698/1.164, allocations: 279.6 kB / 1.041 GB, free: 9.195 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005349/1.165, allocations: 380 kB / 1.042 GB, free: 9.188 MB / 0.7637 GB Notification: Performance of SimCode: time 5.91e-07/1.165, allocations: 0 / 1.042 GB, free: 9.188 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05714/1.222, allocations: 25.94 MB / 1.067 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.97/10.19, allocations: 11.92 kB / 1.067 GB, free: 1.797 MB / 0.7637 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)