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.001372/0.001371, allocations: 99.86 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.001999/0.001999, 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.789/1.789, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.484/1.484, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005029/0.0005029, allocations: 12 kB / 0.5069 GB, free: 5.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2435, allocations: 82.3 MB / 0.5873 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.6294/0.8729, allocations: 168.7 MB / 0.752 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01049/0.8835, allocations: 6.525 MB / 0.7584 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/0.8851, allocations: 31.81 kB / 0.7585 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002134/0.8872, allocations: 0.6611 MB / 0.7591 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006333/0.8936, allocations: 2.065 MB / 0.7611 GB, free: 10.38 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.002435/0.896, allocations: 0.793 MB / 0.7619 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003218/0.8992, allocations: 1.849 MB / 0.7637 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.9004, allocations: 0.8174 MB / 0.7645 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002597/0.903, allocations: 1.149 MB / 0.7656 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.9041, allocations: 0.6578 MB / 0.7663 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.9042, allocations: 56 kB / 0.7663 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.9066, allocations: 0.858 MB / 0.7671 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000411/0.907, allocations: 406.9 kB / 0.7675 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003662/0.9074, allocations: 289.1 kB / 0.7678 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002226/0.9096, allocations: 1.643 MB / 0.7694 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.9096, allocations: 8 kB / 0.7694 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.086e-06/0.9096, allocations: 0 / 0.7694 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.9097, allocations: 0 / 0.7694 GB, free: 1.867 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.003687/0.9133, allocations: 1.477 MB / 0.7709 GB, free: 348 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.9134, allocations: 12.02 kB / 0.7709 GB, free: 336 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002063/0.9136, allocations: 160.6 kB / 0.771 GB, free: 164 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/0.9157, allocations: 350.1 kB / 0.7714 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.9171, allocations: 0.8082 MB / 0.7722 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.022e-05/0.9172, allocations: 89.94 kB / 0.7722 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.9173, allocations: 100 kB / 0.7723 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.9192, allocations: 1.175 MB / 0.7735 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.9192, allocations: 3.953 kB / 0.7735 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-05/0.9193, allocations: 40 kB / 0.7735 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-05/0.9194, allocations: 58.08 kB / 0.7736 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/0.9212, allocations: 1.234 MB / 0.7748 GB, free: 12.23 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.006685/0.9279, allocations: 5.064 MB / 0.7797 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.9293, allocations: 1.138 MB / 0.7808 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.758e-05/0.9293, allocations: 20.64 kB / 0.7809 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000691/0.93, allocations: 480.2 kB / 0.7813 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.266e-06/0.9301, allocations: 7.938 kB / 0.7813 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.001921/0.932, allocations: 1.153 MB / 0.7825 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.932, allocations: 60.06 kB / 0.7825 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000662/0.9327, allocations: 0.5704 MB / 0.7831 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.233e-05/0.9328, allocations: 41.69 kB / 0.7831 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.9331, allocations: 467.8 kB / 0.7836 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.9333, allocations: 264.1 kB / 0.7838 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.9334, allocations: 20 kB / 0.7838 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.9336, allocations: 386.7 kB / 0.7842 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/0.934, allocations: 329.8 kB / 0.7845 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/0.9346, allocations: 458.4 kB / 0.7849 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005405/0.9351, allocations: 399.1 kB / 0.7853 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.9351, allocations: 0 / 0.7853 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001311/0.9365, allocations: 0.918 MB / 0.7862 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.9365, allocations: 8 kB / 0.7862 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.9365, allocations: 4 kB / 0.7862 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.9365, allocations: 8.281 kB / 0.7862 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006516/0.9372, allocations: 155.8 kB / 0.7864 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.9372, allocations: 9.156 kB / 0.7864 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009921/0.9382, allocations: 134.4 kB / 0.7865 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.9383, allocations: 28 kB / 0.7866 GB, free: 15.53 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.0005022/0.9388, allocations: 333.5 kB / 0.7869 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.9389, allocations: 79.06 kB / 0.7869 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.9391, allocations: 111.7 kB / 0.7871 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.9391, allocations: 8 kB / 0.7871 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.9391, allocations: 0 / 0.7871 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001208/0.9403, allocations: 1.089 MB / 0.7881 GB, free: 13.82 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.003232/0.9436, allocations: 2.269 MB / 0.7903 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.9436, allocations: 4 kB / 0.7903 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008024/0.9444, allocations: 178.9 kB / 0.7905 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.9444, allocations: 8.031 kB / 0.7905 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.534e-05/0.9445, allocations: 19.98 kB / 0.7905 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.9445, allocations: 4 kB / 0.7905 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.9445, allocations: 3.953 kB / 0.7905 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.9463, allocations: 1.492 MB / 0.792 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000493/0.9468, allocations: 252 kB / 0.7922 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.9469, allocations: 23.98 kB / 0.7923 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007638/0.9477, allocations: 95.81 kB / 0.7924 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.877e-05/0.9478, allocations: 44.53 kB / 0.7924 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-05/0.9479, allocations: 27.98 kB / 0.7924 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004679/0.9483, allocations: 411 kB / 0.7928 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9483, allocations: 0 / 0.7928 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008908/0.9492, allocations: 367 kB / 0.7932 GB, free: 8.527 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.002244/0.9515, allocations: 2.18 MB / 0.7953 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001146/0.9526, allocations: 0.7941 MB / 0.7961 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.9527, allocations: 4 kB / 0.7961 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005034/0.9532, allocations: 423.5 kB / 0.7965 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/0.9556, allocations: 0.561 MB / 0.797 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008266/0.9639, allocations: 7.47 MB / 0.8043 GB, free: 13 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007281/0.9646, allocations: 1.159 MB / 0.8055 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009998/0.9656, allocations: 271.1 kB / 0.8057 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004785/0.9661, allocations: 375.3 kB / 0.8061 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of SimCode: time 6.92e-07/0.9661, allocations: 3.938 kB / 0.8061 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.61/3.576, allocations: 25.86 MB / 0.8313 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/3.576, allocations: 164.2 kB / 0.8315 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.368/6.944, allocations: 0 / 0.8315 GB, free: 1.406 MB / 0.6387 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: