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.0009341/0.0009342, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0008921/0.0008921, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9596/0.9596, allocations: 132.2 MB / 423.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003012/0.0003012, allocations: 8 kB / 0.5033 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3566, allocations: 81.56 MB / 0.583 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.1489/0.5056, allocations: 168.8 MB / 0.7478 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007232/0.5128, allocations: 6.521 MB / 0.7541 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004643/0.5133, allocations: 31.81 kB / 0.7542 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.5146, allocations: 0.6572 MB / 0.7548 GB, free: 244 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003378/0.518, allocations: 2.069 MB / 0.7568 GB, free: 14.16 MB / 0.5919 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.001458/0.5195, allocations: 0.7966 MB / 0.7576 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00171/0.5212, allocations: 1.844 MB / 0.7594 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007973/0.522, allocations: 0.8212 MB / 0.7602 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001531/0.5235, allocations: 1.153 MB / 0.7613 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006317/0.5242, allocations: 0.65 MB / 0.762 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.824e-05/0.5243, allocations: 56 kB / 0.762 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/0.5257, allocations: 0.8658 MB / 0.7629 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003137/0.5261, allocations: 394.9 kB / 0.7632 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.5263, allocations: 289.1 kB / 0.7635 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.5276, allocations: 1.648 MB / 0.7651 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.5276, allocations: 0 / 0.7651 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5276, allocations: 0 / 0.7651 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.5276, allocations: 0 / 0.7651 GB, free: 5.637 MB / 0.5919 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.002839/0.5304, allocations: 1.488 MB / 0.7666 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.5305, allocations: 8.031 kB / 0.7666 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/0.5306, allocations: 164.6 kB / 0.7667 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.5325, allocations: 350.1 kB / 0.7671 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.5337, allocations: 0.8199 MB / 0.7679 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.771e-05/0.5338, allocations: 74 kB / 0.7679 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.5339, allocations: 100 kB / 0.768 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.5354, allocations: 1.179 MB / 0.7692 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.5354, allocations: 0 / 0.7692 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.594e-05/0.5355, allocations: 40 kB / 0.7692 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.304e-05/0.5356, allocations: 66.05 kB / 0.7693 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.5371, allocations: 1.234 MB / 0.7705 GB, free: 15.97 MB / 0.6075 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.004916/0.5421, allocations: 5.048 MB / 0.7754 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.5432, allocations: 1.143 MB / 0.7765 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.482e-05/0.5433, allocations: 24.56 kB / 0.7766 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005635/0.5439, allocations: 484.2 kB / 0.777 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 1.854e-06/0.5439, allocations: 0 / 0.777 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.00154/0.5454, allocations: 1.153 MB / 0.7782 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.5455, allocations: 60.06 kB / 0.7782 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005194/0.546, allocations: 0.5666 MB / 0.7788 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.155e-05/0.546, allocations: 41.7 kB / 0.7788 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.5463, allocations: 467.6 kB / 0.7793 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.5465, allocations: 272.1 kB / 0.7795 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.5465, allocations: 16 kB / 0.7795 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5466, allocations: 394.6 kB / 0.7799 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003955/0.547, allocations: 321.8 kB / 0.7802 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004656/0.5475, allocations: 462.4 kB / 0.7807 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000469/0.548, allocations: 395.1 kB / 0.781 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.548, allocations: 0 / 0.781 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001099/0.5491, allocations: 0.9218 MB / 0.7819 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.5491, allocations: 4.344 kB / 0.7819 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.5491, allocations: 8 kB / 0.7819 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.5491, allocations: 4 kB / 0.7819 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005826/0.5497, allocations: 159.8 kB / 0.7821 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.5497, allocations: 4 kB / 0.7821 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007626/0.5505, allocations: 139.3 kB / 0.7822 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/0.5506, allocations: 24 kB / 0.7823 GB, free: 3.285 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003288/0.5509, allocations: 337.4 kB / 0.7826 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.395e-05/0.551, allocations: 79.06 kB / 0.7827 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/0.5512, allocations: 111.8 kB / 0.7828 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.5512, allocations: 12 kB / 0.7828 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5512, allocations: 0 / 0.7828 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000998/0.5522, allocations: 1.081 MB / 0.7838 GB, free: 1.574 MB / 0.6075 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.002599/0.5548, allocations: 2.273 MB / 0.786 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.5548, allocations: 4 kB / 0.7861 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007519/0.5556, allocations: 179.8 kB / 0.7862 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5556, allocations: 0 / 0.7862 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-05/0.5556, allocations: 20 kB / 0.7862 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.5557, allocations: 7.953 kB / 0.7863 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5557, allocations: 0 / 0.7863 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.5572, allocations: 1.492 MB / 0.7877 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003413/0.5576, allocations: 252 kB / 0.7879 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.29e-05/0.5577, allocations: 15.95 kB / 0.788 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006914/0.5584, allocations: 103.1 kB / 0.7881 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.5585, allocations: 44.53 kB / 0.7881 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.784e-05/0.5585, allocations: 27.98 kB / 0.7881 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003658/0.5589, allocations: 407.1 kB / 0.7885 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5589, allocations: 0 / 0.7885 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006495/0.5595, allocations: 367 kB / 0.7889 GB, free: 12.29 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001861/0.5614, allocations: 2.18 MB / 0.791 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009156/0.5623, allocations: 0.7981 MB / 0.7918 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5623, allocations: 4.688 kB / 0.7918 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004502/0.5628, allocations: 423.5 kB / 0.7922 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/0.565, allocations: 0.5489 MB / 0.7927 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006752/0.5717, allocations: 7.466 MB / 0.8 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000557/0.5723, allocations: 1.167 MB / 0.8012 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007672/0.5731, allocations: 267.2 kB / 0.8014 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/0.5735, allocations: 375.3 kB / 0.8018 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of SimCode: time 2.91e-07/0.5735, allocations: 0 / 0.8018 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.938/3.512, allocations: 25.86 MB / 0.827 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/3.512, allocations: 156.8 kB / 0.8272 GB, free: 215.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.475/7.988, allocations: 0 / 0.8272 GB, free: 215.6 MB / 0.6387 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) Environment - environmentSimulation: