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.00124/0.00124, allocations: 107 kB / 16.4 MB, free: 6.508 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.001054/0.001054, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.253/1.253, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7044/0.7044, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 67.25 kB / 0.5679 GB, free: 29.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1267, allocations: 77.94 MB / 0.6441 GB, free: 9.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.5453/0.6721, allocations: 204.1 MB / 0.8434 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009564/0.6817, allocations: 6.391 MB / 0.8496 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001536/0.6833, allocations: 37.41 kB / 0.8497 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001839/0.6851, allocations: 0.7574 MB / 0.8504 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006238/0.6914, allocations: 2.778 MB / 0.8531 GB, free: 3.156 MB / 0.6075 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.001626/0.693, allocations: 0.7066 MB / 0.8538 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003306/0.6964, allocations: 3.271 MB / 0.857 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.6976, allocations: 1.149 MB / 0.8581 GB, free: 52 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001771/0.6994, allocations: 1.282 MB / 0.8594 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.701, allocations: 1.099 MB / 0.8605 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.7012, allocations: 128 kB / 0.8606 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004047/0.7052, allocations: 2.358 MB / 0.8629 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000455/0.7057, allocations: 0.5182 MB / 0.8634 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007147/0.7064, allocations: 0.7352 MB / 0.8641 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003611/0.71, allocations: 2.806 MB / 0.8668 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.7101, allocations: 8 kB / 0.8669 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7101, allocations: 0 / 0.8669 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.7101, allocations: 3.938 kB / 0.8669 GB, free: 7.75 MB / 0.6231 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.003656/0.7137, allocations: 1.809 MB / 0.8686 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.7138, allocations: 12.62 kB / 0.8686 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000173/0.714, allocations: 160.6 kB / 0.8688 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002105/0.7161, allocations: 346.9 kB / 0.8691 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.7175, allocations: 0.8863 MB / 0.87 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-05/0.7176, allocations: 82 kB / 0.8701 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.7178, allocations: 99.95 kB / 0.8702 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.7195, allocations: 1.191 MB / 0.8713 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.7196, allocations: 4 kB / 0.8713 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-05/0.7197, allocations: 40.88 kB / 0.8714 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-05/0.7197, allocations: 62.06 kB / 0.8714 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.7215, allocations: 1.249 MB / 0.8726 GB, free: 1.664 MB / 0.6231 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.005877/0.7274, allocations: 5.115 MB / 0.8776 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.7288, allocations: 1.157 MB / 0.8788 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006857/0.7295, allocations: 0.5098 MB / 0.8793 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.881e-05/0.7296, allocations: 12.66 kB / 0.8793 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006929/0.7303, allocations: 489.1 kB / 0.8797 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.645e-06/0.7303, allocations: 7.875 kB / 0.8798 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.001835/0.7321, allocations: 1.157 MB / 0.8809 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.7322, allocations: 64.05 kB / 0.8809 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006089/0.7328, allocations: 0.5745 MB / 0.8815 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.564e-05/0.7328, allocations: 41.7 kB / 0.8815 GB, free: 7.961 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.7331, allocations: 476.7 kB / 0.882 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.7334, allocations: 273.6 kB / 0.8823 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/0.7336, allocations: 134.6 kB / 0.8824 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.7337, allocations: 382.8 kB / 0.8828 GB, free: 6.695 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004524/0.7342, allocations: 329.8 kB / 0.8831 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005292/0.7347, allocations: 452.7 kB / 0.8835 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.7358, allocations: 0.8272 MB / 0.8843 GB, free: 5.031 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.7358, allocations: 0 / 0.8843 GB, free: 5.031 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001276/0.7371, allocations: 0.93 MB / 0.8852 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.7371, allocations: 8 kB / 0.8852 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.7371, allocations: 0 / 0.8852 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.7371, allocations: 13.06 kB / 0.8852 GB, free: 4.074 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006518/0.7378, allocations: 160.1 kB / 0.8854 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.7378, allocations: 9.094 kB / 0.8854 GB, free: 3.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000687/0.7385, allocations: 59.56 kB / 0.8855 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.7386, allocations: 27.94 kB / 0.8855 GB, free: 3.824 MB / 0.6387 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.000411/0.739, allocations: 334.1 kB / 0.8858 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.7391, allocations: 87.48 kB / 0.8859 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.7393, allocations: 111.7 kB / 0.886 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.7393, allocations: 8 kB / 0.886 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.7394, allocations: 4 kB / 0.886 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001165/0.7405, allocations: 1.089 MB / 0.8871 GB, free: 2.098 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 postOpt removeSimpleEquations (simulation): time 0.002943/0.7435, allocations: 2.322 MB / 0.8893 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.7435, allocations: 0 / 0.8893 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008149/0.7443, allocations: 171.8 kB / 0.8895 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.7443, allocations: 8.031 kB / 0.8895 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.674e-05/0.7444, allocations: 19.98 kB / 0.8895 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.7444, allocations: 4 kB / 0.8895 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.7444, allocations: 0 / 0.8895 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.7461, allocations: 1.356 MB / 0.8909 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003757/0.7465, allocations: 256.4 kB / 0.8911 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.7466, allocations: 16 kB / 0.8911 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006005/0.7472, allocations: 27.92 kB / 0.8911 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.798e-05/0.7473, allocations: 44.59 kB / 0.8912 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.043e-05/0.7474, allocations: 24 kB / 0.8912 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004274/0.7478, allocations: 415 kB / 0.8916 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7478, allocations: 0 / 0.8916 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007897/0.7486, allocations: 367.4 kB / 0.8919 GB, free: 12.96 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.002091/0.7507, allocations: 1.975 MB / 0.8939 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001081/0.7518, allocations: 0.798 MB / 0.8947 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7518, allocations: 3.938 kB / 0.8947 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005067/0.7523, allocations: 431.5 kB / 0.8951 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/0.7547, allocations: 0.5864 MB / 0.8956 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008686/0.7634, allocations: 7.285 MB / 0.9028 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006628/0.7641, allocations: 1.143 MB / 0.9039 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007971/0.7649, allocations: 279.1 kB / 0.9041 GB, free: 284 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005205/0.7654, allocations: 383.3 kB / 0.9045 GB, free: 15.91 MB / 0.67 GB Notification: Performance of SimCode: time 5.81e-07/0.7654, allocations: 0 / 0.9045 GB, free: 15.91 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0515/0.8169, allocations: 25.92 MB / 0.9298 GB, free: 6.27 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.378/9.195, allocations: 3.938 kB / 0.9298 GB, free: 6.266 MB / 0.6856 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)