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.0009299/0.0009299, allocations: 103.8 kB / 16.27 MB, free: 6.402 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.0009127/0.0009127, allocations: 188 kB / 17.2 MB, free: 5.949 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.181/1.181, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6743/0.6743, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 63.91 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.271, allocations: 77.92 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.4224/0.6934, allocations: 204.1 MB / 0.7666 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007656/0.7011, allocations: 6.361 MB / 0.7728 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007947/0.702, allocations: 40.34 kB / 0.7729 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.7034, allocations: 0.7315 MB / 0.7736 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00469/0.7081, allocations: 2.68 MB / 0.7762 GB, free: 1.578 MB / 0.5762 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.001326/0.7094, allocations: 0.6981 MB / 0.7769 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002897/0.7123, allocations: 3.28 MB / 0.7801 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/0.7136, allocations: 1.135 MB / 0.7812 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.7152, allocations: 1.245 MB / 0.7824 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/0.7166, allocations: 1.102 MB / 0.7835 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.7167, allocations: 130 kB / 0.7836 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003363/0.7201, allocations: 2.355 MB / 0.7859 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003692/0.7205, allocations: 0.5137 MB / 0.7864 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006287/0.7211, allocations: 0.7406 MB / 0.7871 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002739/0.7239, allocations: 2.779 MB / 0.7899 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.7239, allocations: 3.938 kB / 0.7899 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7239, allocations: 0.9062 kB / 0.7899 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.7239, allocations: 2.594 kB / 0.7899 GB, free: 1.195 MB / 0.5762 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.003257/0.7272, allocations: 1.766 MB / 0.7916 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.7272, allocations: 12.47 kB / 0.7916 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001621/0.7274, allocations: 164.6 kB / 0.7918 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/0.7294, allocations: 354.8 kB / 0.7921 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.7304, allocations: 0.8397 MB / 0.7929 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/0.7304, allocations: 74.83 kB / 0.793 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.7306, allocations: 100.5 kB / 0.7931 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.732, allocations: 1.193 MB / 0.7942 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.7321, allocations: 3.906 kB / 0.7943 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.161e-05/0.7322, allocations: 44.27 kB / 0.7943 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.532e-05/0.7322, allocations: 63.89 kB / 0.7944 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.7338, allocations: 1.246 MB / 0.7956 GB, free: 15.81 MB / 0.5919 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.005017/0.7388, allocations: 5.131 MB / 0.8006 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.74, allocations: 1.153 MB / 0.8017 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000633/0.7407, allocations: 0.5032 MB / 0.8022 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.899e-05/0.7407, allocations: 17.44 kB / 0.8022 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005586/0.7413, allocations: 493.4 kB / 0.8027 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.786e-06/0.7413, allocations: 4.469 kB / 0.8027 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.001553/0.7429, allocations: 1.156 MB / 0.8038 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.7429, allocations: 59.16 kB / 0.8039 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005301/0.7434, allocations: 0.5814 MB / 0.8044 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/0.7435, allocations: 38.83 kB / 0.8045 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.7438, allocations: 462.7 kB / 0.8049 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.744, allocations: 265.8 kB / 0.8052 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.7441, allocations: 133.6 kB / 0.8053 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.7443, allocations: 384.5 kB / 0.8057 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003895/0.7447, allocations: 331.5 kB / 0.806 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004568/0.7451, allocations: 445.7 kB / 0.8064 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009336/0.7461, allocations: 0.8286 MB / 0.8072 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.7461, allocations: 0.7812 kB / 0.8072 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00109/0.7472, allocations: 0.9338 MB / 0.8081 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.7472, allocations: 5.594 kB / 0.8081 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.7472, allocations: 3.219 kB / 0.8081 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.7472, allocations: 5.469 kB / 0.8081 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000582/0.7478, allocations: 159 kB / 0.8083 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.7479, allocations: 11.48 kB / 0.8083 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006549/0.7485, allocations: 61.8 kB / 0.8084 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/0.7486, allocations: 27.69 kB / 0.8084 GB, free: 11.45 MB / 0.5919 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.0003282/0.7489, allocations: 333.8 kB / 0.8087 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.749, allocations: 85.59 kB / 0.8088 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.7492, allocations: 106.8 kB / 0.8089 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.7492, allocations: 8.344 kB / 0.8089 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.7492, allocations: 0 / 0.8089 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001014/0.7503, allocations: 1.088 MB / 0.81 GB, free: 10.82 MB / 0.5919 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.00248/0.7527, allocations: 2.313 MB / 0.8122 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.7528, allocations: 2.281 kB / 0.8122 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007495/0.7535, allocations: 175.4 kB / 0.8124 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.7535, allocations: 2.094 kB / 0.8124 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.405e-05/0.7536, allocations: 24.84 kB / 0.8124 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.7536, allocations: 0 / 0.8124 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7536, allocations: 3.094 kB / 0.8124 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.755, allocations: 1.359 MB / 0.8138 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/0.7553, allocations: 254.5 kB / 0.814 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.7554, allocations: 18.55 kB / 0.814 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005777/0.756, allocations: 19.69 kB / 0.814 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.959e-05/0.7561, allocations: 48.72 kB / 0.8141 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/0.7562, allocations: 23.22 kB / 0.8141 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003697/0.7565, allocations: 414.9 kB / 0.8145 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7565, allocations: 0 / 0.8145 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006936/0.7572, allocations: 365.7 kB / 0.8148 GB, free: 9.805 MB / 0.5919 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.001823/0.7591, allocations: 1.971 MB / 0.8168 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001408/0.7605, allocations: 1.039 MB / 0.8178 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.7605, allocations: 0 / 0.8178 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004263/0.7609, allocations: 424.5 kB / 0.8182 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/0.7633, allocations: 0.5957 MB / 0.8188 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007902/0.7712, allocations: 7.492 MB / 0.8261 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/0.7718, allocations: 1.143 MB / 0.8272 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008868/0.7727, allocations: 271.2 kB / 0.8275 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004809/0.7732, allocations: 375.3 kB / 0.8278 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.7732, allocations: 0 / 0.8278 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04324/0.8165, allocations: 25.73 MB / 0.8529 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.341/8.157, allocations: 17.22 kB / 0.853 GB, free: 8.93 MB / 0.6231 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)