Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_IDEAS_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.00469/0.00469, allocations: 99.91 kB / 15.73 MB, free: 6.492 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.001225/0.001225, allocations: 201.3 kB / 16.68 MB, free: 6.375 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.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7128/0.7128, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 63.27 kB / 0.5809 GB, free: 1.285 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1309, allocations: 80.21 MB / 0.6592 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.4752/0.6061, allocations: 204.1 MB / 0.8585 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007444/0.6136, allocations: 6.353 MB / 0.8647 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007828/0.6144, allocations: 37.53 kB / 0.8648 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.6158, allocations: 0.7665 MB / 0.8655 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004994/0.6208, allocations: 2.758 MB / 0.8682 GB, free: 2.293 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.00126/0.6221, allocations: 0.7245 MB / 0.8689 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002547/0.6246, allocations: 3.269 MB / 0.8721 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.6257, allocations: 1.153 MB / 0.8733 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001436/0.6271, allocations: 1.284 MB / 0.8745 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.6285, allocations: 1.107 MB / 0.8756 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.6287, allocations: 126.9 kB / 0.8757 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003376/0.632, allocations: 2.362 MB / 0.878 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003904/0.6324, allocations: 0.5137 MB / 0.8785 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007023/0.6332, allocations: 0.7382 MB / 0.8792 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003063/0.6362, allocations: 2.808 MB / 0.882 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6362, allocations: 0 / 0.882 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6362, allocations: 0.7188 kB / 0.882 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.6363, allocations: 2.781 kB / 0.882 GB, free: 1.41 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.003262/0.6395, allocations: 1.809 MB / 0.8837 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.6396, allocations: 10.5 kB / 0.8838 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001533/0.6397, allocations: 165.7 kB / 0.8839 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002059/0.6418, allocations: 349.7 kB / 0.8843 GB, free: 432 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.643, allocations: 0.8781 MB / 0.8851 GB, free: 100 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.069e-05/0.6431, allocations: 78.81 kB / 0.8852 GB, free: 96 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.6432, allocations: 104.8 kB / 0.8853 GB, free: 92 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.6449, allocations: 1.198 MB / 0.8865 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.645, allocations: 3.219 kB / 0.8865 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.6451, allocations: 43.86 kB / 0.8865 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-05/0.6451, allocations: 60.66 kB / 0.8866 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.6468, allocations: 1.244 MB / 0.8878 GB, free: 15.51 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 preOpt removeSimpleEquations (simulation): time 0.0054/0.6522, allocations: 5.097 MB / 0.8927 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.6535, allocations: 1.147 MB / 0.8939 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006205/0.6541, allocations: 0.5059 MB / 0.8944 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.531e-05/0.6541, allocations: 17.28 kB / 0.8944 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006212/0.6548, allocations: 485.1 kB / 0.8948 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.554e-06/0.6548, allocations: 0.9375 kB / 0.8948 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.001693/0.6565, allocations: 1.166 MB / 0.896 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.6565, allocations: 60.34 kB / 0.896 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005502/0.6571, allocations: 0.5746 MB / 0.8966 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.705e-05/0.6572, allocations: 43.92 kB / 0.8966 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.6574, allocations: 468.8 kB / 0.8971 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.6576, allocations: 284.9 kB / 0.8974 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.6578, allocations: 131.8 kB / 0.8975 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.658, allocations: 388.1 kB / 0.8979 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/0.6584, allocations: 334.6 kB / 0.8982 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005045/0.6589, allocations: 459.6 kB / 0.8986 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009808/0.6599, allocations: 0.824 MB / 0.8994 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.6599, allocations: 1 kB / 0.8994 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001191/0.6611, allocations: 0.9271 MB / 0.9003 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.6611, allocations: 7.844 kB / 0.9003 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.6611, allocations: 3.25 kB / 0.9003 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.6612, allocations: 9.688 kB / 0.9003 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006218/0.6618, allocations: 160 kB / 0.9005 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.6618, allocations: 7.688 kB / 0.9005 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006839/0.6625, allocations: 62.02 kB / 0.9006 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.6625, allocations: 28.34 kB / 0.9006 GB, free: 7.648 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.0003499/0.6629, allocations: 334.8 kB / 0.9009 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.663, allocations: 88.97 kB / 0.901 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.6632, allocations: 112 kB / 0.9011 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.6633, allocations: 8.969 kB / 0.9011 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6633, allocations: 1 kB / 0.9011 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001142/0.6644, allocations: 1.084 MB / 0.9022 GB, free: 6.469 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.002818/0.6672, allocations: 2.302 MB / 0.9044 GB, free: 4.902 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.6672, allocations: 3.984 kB / 0.9044 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008146/0.6681, allocations: 184.8 kB / 0.9046 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.6681, allocations: 2.844 kB / 0.9046 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.756e-05/0.6681, allocations: 14.69 kB / 0.9046 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.217e-06/0.6681, allocations: 3.719 kB / 0.9046 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.6682, allocations: 4.438 kB / 0.9046 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.6699, allocations: 1.488 MB / 0.9061 GB, free: 4.004 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003602/0.6702, allocations: 259.2 kB / 0.9063 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.6703, allocations: 14.69 kB / 0.9063 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006177/0.671, allocations: 23.95 kB / 0.9064 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/0.671, allocations: 45.19 kB / 0.9064 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/0.6711, allocations: 24.2 kB / 0.9064 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003994/0.6715, allocations: 413.9 kB / 0.9068 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6715, allocations: 0 / 0.9068 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007226/0.6722, allocations: 371.6 kB / 0.9072 GB, free: 3.422 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.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.00215/0.6744, allocations: 2.113 MB / 0.9092 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.6755, allocations: 0.8059 MB / 0.91 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.6755, allocations: 0.6875 kB / 0.91 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005217/0.676, allocations: 431.4 kB / 0.9104 GB, free: 440 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/0.6785, allocations: 0.5878 MB / 0.911 GB, free: 15.87 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008179/0.6867, allocations: 7.255 MB / 0.9181 GB, free: 8.488 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006151/0.6873, allocations: 1.143 MB / 0.9192 GB, free: 7.32 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008064/0.6881, allocations: 271.1 kB / 0.9195 GB, free: 7.051 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004949/0.6886, allocations: 379.3 kB / 0.9198 GB, free: 6.68 MB / 0.67 GB Notification: Performance of SimCode: time 3.81e-07/0.6887, allocations: 0 / 0.9198 GB, free: 6.68 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07448/0.7631, allocations: 25.98 MB / 0.9452 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.343/9.106, allocations: 10.31 kB / 0.9452 GB, free: 13.11 MB / 0.7012 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)