Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.NaturalVentilation,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_dev_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.0007877/0.0007878, allocations: 91.84 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.0008256/0.0008257, 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.446/1.446, allocations: 223.3 MB / 240 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9838/0.9838, allocations: 135.3 MB / 426.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003694, allocations: 8.219 kB / 0.5071 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1726, allocations: 82.31 MB / 0.5875 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.5428/0.7154, allocations: 183.9 MB / 0.767 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0107/0.7261, allocations: 6.912 MB / 0.7738 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/0.7278, allocations: 35.75 kB / 0.7738 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001671/0.7295, allocations: 465.2 kB / 0.7742 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005945/0.7355, allocations: 1.757 MB / 0.7759 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003093/0.7386, allocations: 0.8462 MB / 0.7768 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005369/0.7439, allocations: 3.492 MB / 0.7802 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.7454, allocations: 0.6826 MB / 0.7808 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00227/0.7477, allocations: 0.8676 MB / 0.7817 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001975/0.7497, allocations: 0.9262 MB / 0.7826 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.7498, allocations: 48 kB / 0.7826 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003732/0.7536, allocations: 1.044 MB / 0.7837 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005703/0.7542, allocations: 386.8 kB / 0.784 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004975/0.7547, allocations: 261.1 kB / 0.7843 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002535/0.7572, allocations: 1.609 MB / 0.7859 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.7572, allocations: 0 / 0.7859 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7572, allocations: 0 / 0.7859 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.7573, allocations: 0 / 0.7859 GB, free: 1.672 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.003072/0.7603, allocations: 1.418 MB / 0.7872 GB, free: 212 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.7604, allocations: 8.031 kB / 0.7872 GB, free: 204 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001932/0.7606, allocations: 143.2 kB / 0.7874 GB, free: 56 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002342/0.763, allocations: 370.2 kB / 0.7877 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.7643, allocations: 0.7855 MB / 0.7885 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.716e-05/0.7644, allocations: 73.97 kB / 0.7886 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.7645, allocations: 91.84 kB / 0.7887 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.7662, allocations: 1.034 MB / 0.7897 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.7662, allocations: 7.953 kB / 0.7897 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.002e-05/0.7663, allocations: 32 kB / 0.7897 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-05/0.7664, allocations: 49.92 kB / 0.7898 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.7679, allocations: 0.8744 MB / 0.7906 GB, free: 12.67 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.00504/0.7729, allocations: 4.269 MB / 0.7948 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.7739, allocations: 0.6845 MB / 0.7954 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006812/0.7746, allocations: 447 kB / 0.7959 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006764/0.7753, allocations: 0.6771 MB / 0.7965 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.7754, allocations: 47.12 kB / 0.7966 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=70): time 3.236e-06/0.7754, allocations: 0 / 0.7966 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70): time 0.001941/0.7773, allocations: 0.986 MB / 0.7975 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.7774, allocations: 63.97 kB / 0.7976 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000804/0.7782, allocations: 0.6295 MB / 0.7982 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.016e-05/0.7783, allocations: 45.64 kB / 0.7983 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.7786, allocations: 436.1 kB / 0.7987 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/0.7789, allocations: 244.3 kB / 0.7989 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.7789, allocations: 16 kB / 0.7989 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.7791, allocations: 386.8 kB / 0.7993 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/0.7795, allocations: 269.2 kB / 0.7996 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004936/0.78, allocations: 374.7 kB / 0.7999 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005076/0.7805, allocations: 327.1 kB / 0.8002 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7806, allocations: 0 / 0.8002 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00122/0.7818, allocations: 0.7891 MB / 0.801 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.7818, allocations: 4 kB / 0.801 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.7818, allocations: 5.672 kB / 0.801 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.7819, allocations: 11.94 kB / 0.801 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006584/0.7825, allocations: 143.8 kB / 0.8011 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.7825, allocations: 4 kB / 0.8012 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008606/0.7834, allocations: 107.3 kB / 0.8013 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/0.7835, allocations: 20 kB / 0.8013 GB, free: 1.156 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.0004408/0.7839, allocations: 289.6 kB / 0.8016 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.784, allocations: 79.06 kB / 0.8016 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.7854, allocations: 0.8018 MB / 0.8024 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.7854, allocations: 8 kB / 0.8024 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.7854, allocations: 0 / 0.8024 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001019/0.7865, allocations: 0.8153 MB / 0.8032 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/0.7891, allocations: 1.848 MB / 0.805 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.7891, allocations: 0 / 0.805 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007759/0.7899, allocations: 171.8 kB / 0.8052 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.7899, allocations: 0 / 0.8052 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/0.79, allocations: 16 kB / 0.8052 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.872e-06/0.79, allocations: 7.5 kB / 0.8052 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.79, allocations: 0 / 0.8052 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.7918, allocations: 1.283 MB / 0.8065 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003926/0.7922, allocations: 247.9 kB / 0.8067 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.7923, allocations: 16 kB / 0.8067 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006565/0.7929, allocations: 75.78 kB / 0.8068 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.793, allocations: 40.5 kB / 0.8068 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.904e-05/0.7931, allocations: 24 kB / 0.8068 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005364/0.7936, allocations: 447 kB / 0.8073 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7937, allocations: 4 kB / 0.8073 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008719/0.7945, allocations: 335.2 kB / 0.8076 GB, free: 10.52 MB / 0.6231 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.002259/0.7968, allocations: 1.91 MB / 0.8095 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.7979, allocations: 0.6796 MB / 0.8101 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.798, allocations: 0 / 0.8101 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005008/0.7985, allocations: 371 kB / 0.8105 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/0.8007, allocations: 0.5271 MB / 0.811 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008229/0.809, allocations: 5.797 MB / 0.8167 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/0.8097, allocations: 1.093 MB / 0.8177 GB, free: 0 / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001016/0.8107, allocations: 227.5 kB / 0.8179 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004737/0.8112, allocations: 355.3 kB / 0.8183 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of SimCode: time 5.91e-07/0.8112, allocations: 0 / 0.8183 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04123/0.8525, allocations: 25.14 MB / 0.8428 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.8527, allocations: 189.5 kB / 0.843 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/3.167, allocations: 4.062 kB / 0.843 GB, free: 6.414 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) Environment - environmentSimulation: