Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_dev_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.001042/0.001042, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001288/0.001288, allocations: 172.7 kB / 15.95 MB, free: 208 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.396/1.396, allocations: 223.2 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9487/0.9487, allocations: 135.3 MB / 426.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003579, allocations: 11.94 kB / 0.5071 GB, free: 5.051 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1704, allocations: 82.32 MB / 0.5875 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.5396/0.71, allocations: 185.9 MB / 0.769 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01021/0.7203, allocations: 5.978 MB / 0.7748 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/0.7221, allocations: 35.81 kB / 0.7749 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.7238, allocations: 489.1 kB / 0.7753 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006032/0.7299, allocations: 1.932 MB / 0.7772 GB, free: 10.57 MB / 0.5919 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.001719/0.7316, allocations: 491.4 kB / 0.7777 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004873/0.7365, allocations: 4.026 MB / 0.7816 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.7378, allocations: 0.8215 MB / 0.7824 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002244/0.7401, allocations: 1.058 MB / 0.7834 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/0.7418, allocations: 1.051 MB / 0.7845 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.742, allocations: 56 kB / 0.7845 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003419/0.7454, allocations: 1.134 MB / 0.7856 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005309/0.746, allocations: 442.7 kB / 0.7861 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004688/0.7464, allocations: 289.1 kB / 0.7863 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002517/0.749, allocations: 1.839 MB / 0.7881 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.749, allocations: 0 / 0.7881 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.224e-06/0.749, allocations: 0 / 0.7881 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.957e-05/0.749, allocations: 0 / 0.7881 GB, free: 15.35 MB / 0.6075 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.003583/0.7526, allocations: 1.543 MB / 0.7896 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.7527, allocations: 8.031 kB / 0.7896 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002191/0.7529, allocations: 160.6 kB / 0.7898 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002098/0.755, allocations: 350.1 kB / 0.7901 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.7563, allocations: 0.8121 MB / 0.7909 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.691e-05/0.7564, allocations: 85.98 kB / 0.791 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.7565, allocations: 96 kB / 0.7911 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.7585, allocations: 1.187 MB / 0.7923 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.7585, allocations: 4 kB / 0.7923 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.232e-05/0.7586, allocations: 36 kB / 0.7923 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.096e-05/0.7587, allocations: 66.06 kB / 0.7924 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.7605, allocations: 1.234 MB / 0.7936 GB, free: 9.633 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.00602/0.7665, allocations: 5.06 MB / 0.7985 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.7678, allocations: 1.145 MB / 0.7996 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006766/0.7685, allocations: 0.5051 MB / 0.8001 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.634e-05/0.7686, allocations: 12.64 kB / 0.8001 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007435/0.7693, allocations: 476.2 kB / 0.8006 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.866e-06/0.7694, allocations: 0 / 0.8006 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.001897/0.7713, allocations: 1.157 MB / 0.8017 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.7713, allocations: 64 kB / 0.8018 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006404/0.772, allocations: 0.5667 MB / 0.8023 GB, free: 84 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.836e-05/0.772, allocations: 41.7 kB / 0.8024 GB, free: 36 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/0.7723, allocations: 463.7 kB / 0.8028 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/0.7726, allocations: 268.1 kB / 0.8031 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.7726, allocations: 16 kB / 0.8031 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.7728, allocations: 390.7 kB / 0.8035 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004511/0.7733, allocations: 321.8 kB / 0.8038 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005281/0.7738, allocations: 458.4 kB / 0.8042 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005474/0.7744, allocations: 395.1 kB / 0.8046 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.7744, allocations: 4 kB / 0.8046 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001284/0.7757, allocations: 0.9218 MB / 0.8055 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.7757, allocations: 4 kB / 0.8055 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.7757, allocations: 4 kB / 0.8055 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.7757, allocations: 8 kB / 0.8055 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006384/0.7764, allocations: 155.8 kB / 0.8056 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.7764, allocations: 8 kB / 0.8056 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009067/0.7773, allocations: 132.9 kB / 0.8058 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.7774, allocations: 28 kB / 0.8058 GB, free: 12.45 MB / 0.6231 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.0005276/0.7779, allocations: 343 kB / 0.8061 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.778, allocations: 79.06 kB / 0.8062 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.7783, allocations: 111.7 kB / 0.8063 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.7783, allocations: 8 kB / 0.8063 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.7783, allocations: 0 / 0.8063 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001201/0.7795, allocations: 1.077 MB / 0.8074 GB, free: 10.75 MB / 0.6231 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.00317/0.7827, allocations: 2.308 MB / 0.8096 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.7827, allocations: 0 / 0.8096 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000798/0.7835, allocations: 180.7 kB / 0.8098 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.7835, allocations: 0 / 0.8098 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.514e-05/0.7836, allocations: 27.94 kB / 0.8098 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.7836, allocations: 8.031 kB / 0.8098 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7836, allocations: 0 / 0.8098 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.7855, allocations: 1.475 MB / 0.8113 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004309/0.7859, allocations: 252 kB / 0.8115 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.786, allocations: 18.06 kB / 0.8115 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007119/0.7867, allocations: 103.8 kB / 0.8116 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/0.7868, allocations: 44.59 kB / 0.8117 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.051e-05/0.7869, allocations: 24 kB / 0.8117 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004974/0.7874, allocations: 415 kB / 0.8121 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7874, allocations: 0 / 0.8121 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001005/0.7884, allocations: 367.1 kB / 0.8124 GB, free: 5.426 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.002356/0.7908, allocations: 2.095 MB / 0.8145 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.792, allocations: 0.7982 MB / 0.8153 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.792, allocations: 4 kB / 0.8153 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005097/0.7926, allocations: 423.5 kB / 0.8157 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/0.7949, allocations: 0.5699 MB / 0.8162 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008014/0.803, allocations: 5.849 MB / 0.8219 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006673/0.8037, allocations: 1.144 MB / 0.8231 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001039/0.8047, allocations: 270.4 kB / 0.8233 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005187/0.8052, allocations: 375.3 kB / 0.8237 GB, free: 9.797 MB / 0.6387 GB Notification: Performance of SimCode: time 1.693e-06/0.8052, allocations: 4 kB / 0.8237 GB, free: 9.793 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04393/0.8492, allocations: 25.92 MB / 0.849 GB, free: 220 kB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.8494, allocations: 172.2 kB / 0.8492 GB, free: 15.97 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.242/3.091, allocations: 0 / 0.8492 GB, free: 15.97 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) Environment - environmentSimulation: