Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IBPSA_latest_IBPSA_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.001277/0.001277, allocations: 104.1 kB / 16.4 MB, free: 6.457 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.001269/0.001269, allocations: 196 kB / 17.34 MB, free: 5.715 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7692/0.7692, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 69.02 kB / 0.5735 GB, free: 26.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1466, allocations: 78.86 MB / 0.6505 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.5416/0.6883, allocations: 204.2 MB / 0.85 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01039/0.6987, allocations: 6.372 MB / 0.8562 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.7006, allocations: 37.16 kB / 0.8562 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002178/0.7028, allocations: 0.727 MB / 0.8569 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007205/0.7101, allocations: 2.682 MB / 0.8595 GB, free: 11.61 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.00198/0.7121, allocations: 0.7074 MB / 0.8602 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004183/0.7163, allocations: 3.271 MB / 0.8634 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001773/0.7181, allocations: 1.155 MB / 0.8646 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002777/0.7209, allocations: 1.359 MB / 0.8659 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002436/0.7233, allocations: 1.074 MB / 0.8669 GB, free: 5.594 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003401/0.7237, allocations: 128 kB / 0.8671 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00487/0.7286, allocations: 2.358 MB / 0.8694 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007332/0.7293, allocations: 0.5143 MB / 0.8699 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001403/0.7307, allocations: 0.7391 MB / 0.8706 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005372/0.7361, allocations: 2.802 MB / 0.8733 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.7361, allocations: 4 kB / 0.8733 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7361, allocations: 3.938 kB / 0.8733 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.753e-05/0.7362, allocations: 0 / 0.8733 GB, free: 15.03 MB / 0.6387 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.004507/0.7407, allocations: 1.809 MB / 0.8751 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.7408, allocations: 12.03 kB / 0.8751 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001966/0.741, allocations: 160.6 kB / 0.8753 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002187/0.7432, allocations: 358.8 kB / 0.8756 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.7446, allocations: 0.8863 MB / 0.8765 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.664e-05/0.7446, allocations: 78.02 kB / 0.8765 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.7448, allocations: 99.98 kB / 0.8766 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.7467, allocations: 1.191 MB / 0.8778 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.7467, allocations: 0 / 0.8778 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.7468, allocations: 47.98 kB / 0.8778 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-05/0.7469, allocations: 58.08 kB / 0.8779 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/0.7488, allocations: 1.254 MB / 0.8791 GB, free: 8.934 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 preOpt removeSimpleEquations (simulation): time 0.006175/0.755, allocations: 5.27 MB / 0.8843 GB, free: 3.172 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.7565, allocations: 1.152 MB / 0.8854 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007367/0.7572, allocations: 0.5012 MB / 0.8859 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-05/0.7573, allocations: 20.78 kB / 0.8859 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007189/0.758, allocations: 488.2 kB / 0.8864 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.395e-06/0.758, allocations: 3.938 kB / 0.8864 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.00193/0.76, allocations: 1.157 MB / 0.8875 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.76, allocations: 60.06 kB / 0.8876 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000666/0.7607, allocations: 0.5784 MB / 0.8881 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.832e-05/0.7607, allocations: 41.7 kB / 0.8882 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/0.7611, allocations: 472.6 kB / 0.8886 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002423/0.7613, allocations: 281.5 kB / 0.8889 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.7615, allocations: 126.7 kB / 0.889 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.7617, allocations: 386.8 kB / 0.8894 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004797/0.7622, allocations: 329.8 kB / 0.8897 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000564/0.7628, allocations: 452.7 kB / 0.8901 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.7639, allocations: 0.8203 MB / 0.8909 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.7639, allocations: 4 kB / 0.8909 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00135/0.7653, allocations: 0.9339 MB / 0.8918 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.7653, allocations: 7.938 kB / 0.8918 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.7653, allocations: 4 kB / 0.8918 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.7653, allocations: 4 kB / 0.8919 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006523/0.766, allocations: 160.1 kB / 0.892 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/0.766, allocations: 7.984 kB / 0.892 GB, free: 11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000652/0.7667, allocations: 67.52 kB / 0.8921 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-05/0.7667, allocations: 31.98 kB / 0.8921 GB, free: 10.9 MB / 0.6544 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.0004362/0.7672, allocations: 333.5 kB / 0.8924 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.7673, allocations: 91.42 kB / 0.8925 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.7675, allocations: 103.8 kB / 0.8926 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.7676, allocations: 11.94 kB / 0.8926 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.7676, allocations: 0 / 0.8926 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001274/0.7688, allocations: 1.089 MB / 0.8937 GB, free: 9.18 MB / 0.6544 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.003005/0.7719, allocations: 2.314 MB / 0.8959 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.7719, allocations: 0 / 0.8959 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008144/0.7727, allocations: 175.8 kB / 0.8961 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.7727, allocations: 4 kB / 0.8961 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-05/0.7728, allocations: 24.02 kB / 0.8961 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.7728, allocations: 0 / 0.8961 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.7728, allocations: 4 kB / 0.8961 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.7746, allocations: 1.36 MB / 0.8975 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003382/0.7749, allocations: 252.5 kB / 0.8977 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.775, allocations: 19.98 kB / 0.8977 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005709/0.7756, allocations: 25.31 kB / 0.8978 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.21e-05/0.7757, allocations: 44.59 kB / 0.8978 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.532e-05/0.7758, allocations: 27.98 kB / 0.8978 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004621/0.7762, allocations: 411 kB / 0.8982 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7763, allocations: 0 / 0.8982 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008223/0.7771, allocations: 371.3 kB / 0.8986 GB, free: 4.055 MB / 0.6544 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.002201/0.7793, allocations: 1.97 MB / 0.9005 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001164/0.7805, allocations: 0.8058 MB / 0.9013 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.7805, allocations: 0 / 0.9013 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005535/0.781, allocations: 427.5 kB / 0.9017 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/0.7835, allocations: 0.593 MB / 0.9023 GB, free: 260 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009381/0.7929, allocations: 7.277 MB / 0.9094 GB, free: 8.816 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007475/0.7937, allocations: 1.136 MB / 0.9105 GB, free: 7.652 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008692/0.7946, allocations: 279.1 kB / 0.9108 GB, free: 7.375 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005241/0.7951, allocations: 375.3 kB / 0.9111 GB, free: 7.008 MB / 0.67 GB Notification: Performance of SimCode: time 8.51e-07/0.7951, allocations: 4 kB / 0.9111 GB, free: 7.004 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05366/0.8488, allocations: 25.91 MB / 0.9364 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.947/9.796, allocations: 12.42 kB / 0.9364 GB, free: 13.35 MB / 0.7012 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)