Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_8_Buildings_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.001182/0.001182, allocations: 108 kB / 15.61 MB, free: 148 kB / 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: 194.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.1 MB / 222.4 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.742/1.742, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 76.08 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3256, allocations: 114.5 MB / 0.7835 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.908/1.234, allocations: 204.1 MB / 0.9828 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01358/1.247, allocations: 6.303 MB / 0.989 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003465/1.251, allocations: 31.69 kB / 0.989 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003141/1.254, allocations: 0.7313 MB / 0.9897 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.009108/1.263, allocations: 2.668 MB / 0.9923 GB, free: 10.72 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.002462/1.266, allocations: 0.6942 MB / 0.993 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005369/1.271, allocations: 3.246 MB / 0.9962 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/1.274, allocations: 1.139 MB / 0.9973 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004019/1.278, allocations: 1.239 MB / 0.9985 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003294/1.281, allocations: 1.096 MB / 0.9996 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004074/1.281, allocations: 128.3 kB / 0.9997 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006628/1.288, allocations: 2.365 MB / 1.002 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001098/1.289, allocations: 0.5079 MB / 1.002 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001741/1.291, allocations: 0.737 MB / 1.003 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007798/1.299, allocations: 2.765 MB / 1.006 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/1.299, allocations: 3.984 kB / 1.006 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/1.299, allocations: 0 / 1.006 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.23e-05/1.299, allocations: 0 / 1.006 GB, free: 3.395 MB / 0.7325 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.005249/1.304, allocations: 1.764 MB / 1.008 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/1.304, allocations: 10.09 kB / 1.008 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002384/1.304, allocations: 168.2 kB / 1.008 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002384/1.307, allocations: 339.2 kB / 1.008 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/1.308, allocations: 0.837 MB / 1.009 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.262e-05/1.309, allocations: 75.34 kB / 1.009 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/1.309, allocations: 102.9 kB / 1.009 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002439/1.311, allocations: 1.188 MB / 1.01 GB, free: 476 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/1.311, allocations: 4 kB / 1.01 GB, free: 472 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/1.311, allocations: 42.03 kB / 1.01 GB, free: 440 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.193e-05/1.311, allocations: 61.53 kB / 1.01 GB, free: 424 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/1.313, allocations: 1.243 MB / 1.012 GB, free: 15.79 MB / 0.7481 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.007661/1.321, allocations: 5.124 MB / 1.017 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/1.323, allocations: 1.154 MB / 1.018 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007256/1.323, allocations: 0.5027 MB / 1.018 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 6.221e-05/1.324, allocations: 19.47 kB / 1.018 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008183/1.324, allocations: 483.8 kB / 1.019 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 4.769e-06/1.324, allocations: 0 / 1.019 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.002183/1.327, allocations: 1.153 MB / 1.02 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/1.327, allocations: 67.56 kB / 1.02 GB, free: 9.457 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007382/1.327, allocations: 0.5668 MB / 1.02 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.848e-05/1.327, allocations: 35.98 kB / 1.02 GB, free: 9.082 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003933/1.328, allocations: 457.5 kB / 1.021 GB, free: 8.684 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/1.328, allocations: 277.4 kB / 1.021 GB, free: 8.449 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/1.328, allocations: 128.3 kB / 1.021 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002227/1.329, allocations: 382.2 kB / 1.022 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/1.329, allocations: 336.1 kB / 1.022 GB, free: 7.836 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006644/1.33, allocations: 456.8 kB / 1.022 GB, free: 7.523 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/1.331, allocations: 0.8272 MB / 1.023 GB, free: 7.027 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.331, allocations: 0 / 1.023 GB, free: 7.027 MB / 0.7481 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001474/1.332, allocations: 0.9294 MB / 1.024 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/1.332, allocations: 5.219 kB / 1.024 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1.332, allocations: 9.281 kB / 1.024 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/1.332, allocations: 4.812 kB / 1.024 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007185/1.333, allocations: 155 kB / 1.024 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/1.333, allocations: 5.594 kB / 1.024 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008231/1.334, allocations: 68.97 kB / 1.024 GB, free: 6.461 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.003e-05/1.334, allocations: 26.28 kB / 1.024 GB, free: 6.457 MB / 0.7481 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.0006101/1.335, allocations: 332.2 kB / 1.025 GB, free: 6.211 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/1.335, allocations: 75.47 kB / 1.025 GB, free: 6.176 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/1.335, allocations: 115.7 kB / 1.025 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/1.335, allocations: 11.28 kB / 1.025 GB, free: 6.074 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/1.335, allocations: 0 / 1.025 GB, free: 6.074 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001298/1.336, allocations: 1.086 MB / 1.026 GB, free: 5.273 MB / 0.7481 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.003512/1.34, allocations: 2.299 MB / 1.028 GB, free: 3.699 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/1.34, allocations: 4.031 kB / 1.028 GB, free: 3.695 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008306/1.341, allocations: 180.8 kB / 1.028 GB, free: 3.656 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/1.341, allocations: 2.562 kB / 1.028 GB, free: 3.656 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.004e-05/1.341, allocations: 23.52 kB / 1.028 GB, free: 3.641 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/1.341, allocations: 2.781 kB / 1.028 GB, free: 3.641 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.341, allocations: 0 / 1.028 GB, free: 3.641 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/1.343, allocations: 1.495 MB / 1.03 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004988/1.344, allocations: 243.8 kB / 1.03 GB, free: 2.578 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/1.344, allocations: 20.67 kB / 1.03 GB, free: 2.562 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006519/1.344, allocations: 25.84 kB / 1.03 GB, free: 2.547 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.335e-05/1.345, allocations: 43.72 kB / 1.03 GB, free: 2.527 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.586e-05/1.345, allocations: 25.42 kB / 1.03 GB, free: 2.52 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005441/1.345, allocations: 409.3 kB / 1.031 GB, free: 2.184 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.345, allocations: 4 kB / 1.031 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001074/1.346, allocations: 367 kB / 1.031 GB, free: 1.82 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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.002574/1.349, allocations: 2.098 MB / 1.033 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001944/1.351, allocations: 1.037 MB / 1.034 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.351, allocations: 4 kB / 1.034 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0008354/1.352, allocations: 431.6 kB / 1.034 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/1.355, allocations: 0.5907 MB / 1.035 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/1.366, allocations: 7.419 MB / 1.042 GB, free: 6.09 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/1.367, allocations: 1.136 MB / 1.043 GB, free: 4.93 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001331/1.369, allocations: 267.1 kB / 1.044 GB, free: 4.664 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000576/1.369, allocations: 375.3 kB / 1.044 GB, free: 4.297 MB / 0.7637 GB Notification: Performance of SimCode: time 1.132e-06/1.369, allocations: 4 kB / 1.044 GB, free: 4.293 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06441/1.434, allocations: 25.71 MB / 1.069 GB, free: 10.88 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.444/9.877, allocations: 15.92 kB / 1.069 GB, free: 10.86 MB / 0.795 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)