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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow") translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 99.47 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.0009896/0.0009896, allocations: 177.3 kB / 15.94 MB, free: 228 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.435/1.435, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.025/1.025, allocations: 135.2 MB / 426.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003458, allocations: 19.2 kB / 0.5068 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1949, allocations: 82.31 MB / 0.5872 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.5287/0.7237, allocations: 168.7 MB / 0.752 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01053/0.7342, allocations: 6.509 MB / 0.7583 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.7359, allocations: 31.81 kB / 0.7584 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002141/0.738, allocations: 0.6611 MB / 0.759 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006741/0.7448, allocations: 2.072 MB / 0.761 GB, free: 10.48 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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.00258/0.7474, allocations: 0.7877 MB / 0.7618 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00341/0.7508, allocations: 1.848 MB / 0.7636 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.7522, allocations: 0.8253 MB / 0.7644 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00314/0.7553, allocations: 1.149 MB / 0.7655 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.7565, allocations: 0.6538 MB / 0.7662 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.7566, allocations: 56 kB / 0.7662 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002546/0.7592, allocations: 0.862 MB / 0.7671 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004295/0.7596, allocations: 402.9 kB / 0.7675 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000409/0.76, allocations: 289.1 kB / 0.7677 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.7619, allocations: 1.649 MB / 0.7693 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.762, allocations: 0 / 0.7693 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.834e-06/0.762, allocations: 0 / 0.7693 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.762, allocations: 0 / 0.7693 GB, free: 1.965 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.003505/0.7655, allocations: 1.477 MB / 0.7708 GB, free: 448 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.7656, allocations: 12.02 kB / 0.7708 GB, free: 436 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002085/0.7676, allocations: 350.1 kB / 0.7711 GB, free: 84 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.7691, allocations: 0.816 MB / 0.7719 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.414e-05/0.7692, allocations: 74.02 kB / 0.772 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.7694, allocations: 104 kB / 0.7721 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.7712, allocations: 1.175 MB / 0.7732 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.7713, allocations: 0 / 0.7732 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.7714, allocations: 43.94 kB / 0.7733 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.001e-05/0.7715, allocations: 62.06 kB / 0.7733 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.7733, allocations: 1.238 MB / 0.7746 GB, free: 12.49 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.006471/0.7798, allocations: 5.054 MB / 0.7795 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.7812, allocations: 1.142 MB / 0.7806 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.083e-05/0.7812, allocations: 20.72 kB / 0.7806 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007251/0.782, allocations: 480.2 kB / 0.7811 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.346e-06/0.782, allocations: 0 / 0.7811 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.001963/0.784, allocations: 1.161 MB / 0.7822 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.784, allocations: 60.06 kB / 0.7823 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006632/0.7847, allocations: 0.5705 MB / 0.7828 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.079e-05/0.7848, allocations: 41.7 kB / 0.7829 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.7851, allocations: 459.6 kB / 0.7833 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002385/0.7853, allocations: 276.1 kB / 0.7836 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.7854, allocations: 16 kB / 0.7836 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.7856, allocations: 390.6 kB / 0.784 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004536/0.786, allocations: 325.8 kB / 0.7843 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005611/0.7866, allocations: 454.5 kB / 0.7847 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005446/0.7872, allocations: 403 kB / 0.7851 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.7872, allocations: 0 / 0.7851 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00128/0.7884, allocations: 0.9257 MB / 0.786 GB, free: 132 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.7885, allocations: 4 kB / 0.786 GB, free: 128 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/0.7885, allocations: 4.344 kB / 0.786 GB, free: 124 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.7885, allocations: 12 kB / 0.786 GB, free: 112 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006523/0.7892, allocations: 155.8 kB / 0.7862 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.7892, allocations: 4 kB / 0.7862 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009762/0.7902, allocations: 137.2 kB / 0.7863 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.062e-05/0.7902, allocations: 24 kB / 0.7863 GB, free: 15.8 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.0004893/0.7907, allocations: 329.6 kB / 0.7866 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.7909, allocations: 83.06 kB / 0.7867 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001903/0.7911, allocations: 107.8 kB / 0.7868 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.7911, allocations: 8 kB / 0.7868 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.7911, allocations: 4 kB / 0.7868 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001204/0.7923, allocations: 1.09 MB / 0.7879 GB, free: 14.09 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.003197/0.7955, allocations: 2.273 MB / 0.7901 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.7955, allocations: 0 / 0.7901 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008094/0.7963, allocations: 179.8 kB / 0.7903 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/0.7964, allocations: 4 kB / 0.7903 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.73e-05/0.7964, allocations: 19.94 kB / 0.7903 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.7964, allocations: 4 kB / 0.7903 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.7964, allocations: 3.953 kB / 0.7903 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.7983, allocations: 1.493 MB / 0.7918 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004595/0.7987, allocations: 252 kB / 0.792 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.7988, allocations: 16 kB / 0.792 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007785/0.7996, allocations: 103.8 kB / 0.7921 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.794e-05/0.7997, allocations: 40.59 kB / 0.7922 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.305e-05/0.7998, allocations: 27.98 kB / 0.7922 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004946/0.8003, allocations: 407.1 kB / 0.7926 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8003, allocations: 0 / 0.7926 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008939/0.8012, allocations: 363 kB / 0.7929 GB, free: 8.805 MB / 0.6075 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.0003838/0.8016, allocations: 191.3 kB / 0.7931 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00115/0.8027, allocations: 0.7982 MB / 0.7939 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.8027, allocations: 0 / 0.7939 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005262/0.8033, allocations: 427.5 kB / 0.7943 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.8056, allocations: 0.5512 MB / 0.7948 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/0.809, allocations: 2.682 MB / 0.7974 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000702/0.8098, allocations: 1.155 MB / 0.7986 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000956/0.8107, allocations: 276.5 kB / 0.7988 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.8109, allocations: 71.42 kB / 0.7989 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of SimCode: time 1.844e-06/0.8109, allocations: 4 kB / 0.7989 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of Templates: time 0.02884/0.8398, allocations: 17.62 MB / 0.8161 GB, free: 1.258 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.makefile Environment - environmentSimulation: (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 & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) Environment - environmentSimulation: