Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",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.0009608/0.000961, 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.001081/0.001081, 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.441/1.441, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7762/0.7762, allocations: 132.2 MB / 423.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003519, allocations: 9.438 kB / 0.5033 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.4587, allocations: 81.58 MB / 0.583 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.234/0.6927, allocations: 167.1 MB / 0.7461 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01042/0.7032, allocations: 7.338 MB / 0.7533 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.7045, allocations: 31.81 kB / 0.7533 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.7063, allocations: 0.6376 MB / 0.7539 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005942/0.7122, allocations: 2.102 MB / 0.756 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.7151, allocations: 0.9645 MB / 0.7569 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002965/0.7181, allocations: 1.682 MB / 0.7586 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.7191, allocations: 0.6774 MB / 0.7592 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.7206, allocations: 0.8176 MB / 0.76 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007883/0.7214, allocations: 0.6148 MB / 0.7606 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.641e-05/0.7215, allocations: 48 kB / 0.7607 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00239/0.7239, allocations: 0.8776 MB / 0.7615 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003539/0.7243, allocations: 351 kB / 0.7619 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003007/0.7246, allocations: 261.1 kB / 0.7621 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.7263, allocations: 1.477 MB / 0.7636 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.7263, allocations: 0 / 0.7636 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7264, allocations: 0 / 0.7636 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.7264, allocations: 4 kB / 0.7636 GB, free: 7.105 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002749/0.7291, allocations: 1.375 MB / 0.7649 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.7292, allocations: 12.03 kB / 0.7649 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001674/0.7294, allocations: 135.3 kB / 0.7651 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002356/0.7317, allocations: 386.2 kB / 0.7654 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.733, allocations: 0.7817 MB / 0.7662 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.857e-05/0.7331, allocations: 62 kB / 0.7663 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.7332, allocations: 87.91 kB / 0.7663 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.7349, allocations: 1.034 MB / 0.7673 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/0.7349, allocations: 7.953 kB / 0.7674 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.137e-05/0.735, allocations: 43.88 kB / 0.7674 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.446e-05/0.7351, allocations: 41.98 kB / 0.7674 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.7365, allocations: 0.8783 MB / 0.7683 GB, free: 2.137 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.004576/0.7411, allocations: 4.268 MB / 0.7725 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000996/0.7421, allocations: 0.6831 MB / 0.7731 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005951/0.7427, allocations: 0.6732 MB / 0.7738 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.7427, allocations: 39.12 kB / 0.7738 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=70): time 4.529e-06/0.7427, allocations: 4 kB / 0.7738 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70): time 0.001854/0.7446, allocations: 0.9938 MB / 0.7748 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.7446, allocations: 59.97 kB / 0.7749 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007098/0.7454, allocations: 0.6295 MB / 0.7755 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.926e-05/0.7454, allocations: 37.7 kB / 0.7755 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.7457, allocations: 440.1 kB / 0.7759 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.746, allocations: 244.4 kB / 0.7762 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.746, allocations: 15.94 kB / 0.7762 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.7462, allocations: 386.8 kB / 0.7765 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004323/0.7466, allocations: 277.2 kB / 0.7768 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005041/0.7471, allocations: 366.7 kB / 0.7772 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005121/0.7476, allocations: 327.1 kB / 0.7775 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.7477, allocations: 3.984 kB / 0.7775 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001228/0.7489, allocations: 0.7891 MB / 0.7782 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.7489, allocations: 11.94 kB / 0.7783 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.7489, allocations: 3.984 kB / 0.7783 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.749, allocations: 4 kB / 0.7783 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006498/0.7496, allocations: 144 kB / 0.7784 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.7496, allocations: 4 kB / 0.7784 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009115/0.7506, allocations: 103.3 kB / 0.7785 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.7506, allocations: 24 kB / 0.7785 GB, free: 7.066 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0004138/0.751, allocations: 281.7 kB / 0.7788 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.7512, allocations: 87.02 kB / 0.7789 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.7525, allocations: 0.7881 MB / 0.7796 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.7525, allocations: 8 kB / 0.7797 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.7525, allocations: 4 kB / 0.7797 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00103/0.7536, allocations: 0.8153 MB / 0.7805 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.7548, allocations: 0.9773 MB / 0.7814 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.7549, allocations: 0 / 0.7814 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000813/0.7557, allocations: 171.7 kB / 0.7816 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.7557, allocations: 4 kB / 0.7816 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.761e-05/0.7558, allocations: 23.92 kB / 0.7816 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.7558, allocations: 7.938 kB / 0.7816 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.7558, allocations: 0 / 0.7816 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.7575, allocations: 1.272 MB / 0.7828 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004351/0.7579, allocations: 243.9 kB / 0.7831 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.7581, allocations: 23.95 kB / 0.7831 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007135/0.7588, allocations: 76.38 kB / 0.7832 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.7589, allocations: 40.5 kB / 0.7832 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/0.7589, allocations: 31.98 kB / 0.7832 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004957/0.7594, allocations: 447 kB / 0.7837 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7595, allocations: 0 / 0.7837 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008092/0.7603, allocations: 335.3 kB / 0.784 GB, free: 1.312 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 70 * 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.002128/0.7624, allocations: 1.919 MB / 0.7859 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.7635, allocations: 0.6757 MB / 0.7865 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.7635, allocations: 0 / 0.7865 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000491/0.764, allocations: 367.4 kB / 0.7869 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/0.7662, allocations: 0.51 MB / 0.7874 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008162/0.7744, allocations: 6.624 MB / 0.7938 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006229/0.775, allocations: 1.116 MB / 0.7949 GB, free: 5.934 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009663/0.776, allocations: 223.2 kB / 0.7951 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004769/0.7765, allocations: 355.3 kB / 0.7955 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of SimCode: time 9.11e-07/0.7765, allocations: 0 / 0.7955 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.296/3.072, allocations: 25.07 MB / 0.82 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/3.072, allocations: 172.8 kB / 0.8201 GB, free: 216 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.081/5.153, allocations: 0 / 0.8201 GB, free: 216 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) Environment - environmentSimulation: