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.0008163/0.0008161, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0009201/0.0009201, allocations: 168.7 kB / 15.95 MB, free: 204 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.351/1.351, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7291/0.7291, allocations: 132.3 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003513, allocations: 8.562 kB / 0.5035 GB, free: 4.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5041/0.5044, allocations: 81.57 MB / 0.5831 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.1987/0.7032, allocations: 183.9 MB / 0.7627 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01035/0.7136, allocations: 6.923 MB / 0.7695 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001485/0.7151, allocations: 31.81 kB / 0.7695 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.7168, allocations: 465.2 kB / 0.7699 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005325/0.7221, allocations: 1.749 MB / 0.7716 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00303/0.7252, allocations: 0.8515 MB / 0.7725 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005104/0.7303, allocations: 3.482 MB / 0.7759 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.7319, allocations: 0.6812 MB / 0.7765 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002362/0.7342, allocations: 0.8832 MB / 0.7774 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.736, allocations: 0.9184 MB / 0.7783 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.7362, allocations: 52 kB / 0.7784 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003594/0.7398, allocations: 1.048 MB / 0.7794 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005475/0.7404, allocations: 378.8 kB / 0.7797 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007856/0.7412, allocations: 265.1 kB / 0.78 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003444/0.7446, allocations: 1.598 MB / 0.7816 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.7446, allocations: 0 / 0.7816 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.925e-06/0.7447, allocations: 0 / 0.7816 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.689e-05/0.7447, allocations: 0 / 0.7816 GB, free: 4.793 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004198/0.7489, allocations: 1.429 MB / 0.7829 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/0.749, allocations: 8.031 kB / 0.783 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004458/0.7495, allocations: 135.3 kB / 0.7831 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002561/0.752, allocations: 382.2 kB / 0.7834 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.7535, allocations: 0.7855 MB / 0.7842 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.828e-05/0.7536, allocations: 58 kB / 0.7843 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.7537, allocations: 91.91 kB / 0.7844 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.7556, allocations: 1.038 MB / 0.7854 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/0.7556, allocations: 0 / 0.7854 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-05/0.7557, allocations: 43.94 kB / 0.7854 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.983e-05/0.7558, allocations: 41.92 kB / 0.7855 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.7573, allocations: 0.8822 MB / 0.7863 GB, free: 15.77 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 preOpt removeSimpleEquations (simulation): time 0.004956/0.7623, allocations: 4.269 MB / 0.7905 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009967/0.7633, allocations: 0.6753 MB / 0.7911 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006756/0.764, allocations: 451.6 kB / 0.7916 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005914/0.7646, allocations: 0.6771 MB / 0.7922 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.7646, allocations: 47.05 kB / 0.7923 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 4.418e-06/0.7647, allocations: 0 / 0.7923 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.00181/0.7665, allocations: 0.9938 MB / 0.7933 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.7665, allocations: 59.95 kB / 0.7933 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007442/0.7673, allocations: 0.6256 MB / 0.7939 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/0.7673, allocations: 37.7 kB / 0.794 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/0.7676, allocations: 436.1 kB / 0.7944 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/0.7679, allocations: 252.3 kB / 0.7946 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.7679, allocations: 15.94 kB / 0.7946 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.7681, allocations: 398.7 kB / 0.795 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004563/0.7686, allocations: 269.2 kB / 0.7953 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/0.7691, allocations: 366.7 kB / 0.7956 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/0.7696, allocations: 331.2 kB / 0.7959 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.7696, allocations: 0 / 0.7959 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001243/0.7709, allocations: 0.7852 MB / 0.7967 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.7709, allocations: 14.11 kB / 0.7967 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.7709, allocations: 7.984 kB / 0.7967 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.771, allocations: 4 kB / 0.7967 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006274/0.7716, allocations: 143.8 kB / 0.7969 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.7716, allocations: 4 kB / 0.7969 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008574/0.7725, allocations: 105.1 kB / 0.797 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-05/0.7725, allocations: 20 kB / 0.797 GB, free: 4.262 MB / 0.6231 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.0004329/0.773, allocations: 293.6 kB / 0.7973 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.7731, allocations: 87.05 kB / 0.7973 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.7745, allocations: 0.7957 MB / 0.7981 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.7745, allocations: 4 kB / 0.7981 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.7745, allocations: 0 / 0.7981 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001029/0.7756, allocations: 0.8153 MB / 0.7989 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002769/0.7784, allocations: 1.844 MB / 0.8007 GB, free: 308 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.7784, allocations: 0 / 0.8007 GB, free: 308 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007931/0.7792, allocations: 171.8 kB / 0.8009 GB, free: 136 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.425e-05/0.7792, allocations: 8 kB / 0.8009 GB, free: 128 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.515e-05/0.7793, allocations: 23.92 kB / 0.8009 GB, free: 104 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/0.7793, allocations: 4 kB / 0.8009 GB, free: 100 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.7793, allocations: 0 / 0.8009 GB, free: 100 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.7811, allocations: 1.275 MB / 0.8022 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004341/0.7815, allocations: 244 kB / 0.8024 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.7817, allocations: 16 kB / 0.8024 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007623/0.7825, allocations: 76.38 kB / 0.8025 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.7826, allocations: 44.5 kB / 0.8025 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/0.7826, allocations: 23.98 kB / 0.8026 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005412/0.7832, allocations: 451 kB / 0.803 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7832, allocations: 4 kB / 0.803 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009253/0.7841, allocations: 331.2 kB / 0.8033 GB, free: 13.62 MB / 0.6387 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.002276/0.7864, allocations: 1.913 MB / 0.8052 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001175/0.7876, allocations: 0.6757 MB / 0.8058 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7876, allocations: 0 / 0.8058 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005203/0.7881, allocations: 379.3 kB / 0.8062 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/0.7905, allocations: 0.511 MB / 0.8067 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009326/0.7998, allocations: 5.796 MB / 0.8124 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008161/0.8007, allocations: 1.089 MB / 0.8134 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001212/0.8019, allocations: 227.2 kB / 0.8136 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006328/0.8026, allocations: 363.3 kB / 0.814 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of SimCode: time 1.072e-06/0.8026, allocations: 0 / 0.814 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3658/1.168, allocations: 25.12 MB / 0.8385 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/1.169, allocations: 182.2 kB / 0.8387 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/3.432, allocations: 0 / 0.8387 GB, free: 210.6 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: