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.0008259/0.0008259, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004811/0.004811, allocations: 171.1 kB / 16.27 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.184/1.184, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 17.68/17.68, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.0003087, allocations: 8 kB / 0.5077 GB, free: 4.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2294, allocations: 82.31 MB / 0.5881 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.8162/1.046, allocations: 197.1 MB / 0.7805 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01334/1.059, allocations: 7.388 MB / 0.7877 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003261/1.062, allocations: 31.81 kB / 0.7878 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002832/1.065, allocations: 0.6064 MB / 0.7884 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01033/1.076, allocations: 2.261 MB / 0.7906 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004072/1.08, allocations: 1.113 MB / 0.7916 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005876/1.085, allocations: 4.169 MB / 0.7957 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/1.087, allocations: 0.7748 MB / 0.7965 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/1.089, allocations: 0.8596 MB / 0.7973 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002144/1.091, allocations: 0.963 MB / 0.7983 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001323/1.091, allocations: 48 kB / 0.7983 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005568/1.097, allocations: 2.482 MB / 0.8007 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005053/1.097, allocations: 378.8 kB / 0.8011 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008762/1.098, allocations: 0.612 MB / 0.8017 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004355/1.102, allocations: 2.469 MB / 0.8041 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/1.102, allocations: 4 kB / 0.8041 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.974e-06/1.102, allocations: 0 / 0.8041 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.496e-05/1.102, allocations: 4 kB / 0.8041 GB, free: 15.12 MB / 0.6231 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.00306/1.106, allocations: 1.398 MB / 0.8055 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/1.106, allocations: 12.03 kB / 0.8055 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001853/1.106, allocations: 135.2 kB / 0.8056 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/1.108, allocations: 386.1 kB / 0.806 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/1.109, allocations: 0.8084 MB / 0.8068 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.832e-05/1.11, allocations: 66 kB / 0.8068 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/1.11, allocations: 83.91 kB / 0.8069 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/1.111, allocations: 1.045 MB / 0.8079 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/1.112, allocations: 3.938 kB / 0.8079 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-05/1.112, allocations: 40 kB / 0.808 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-05/1.112, allocations: 41.98 kB / 0.808 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/1.113, allocations: 0.8861 MB / 0.8089 GB, free: 10.1 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.005437/1.119, allocations: 4.276 MB / 0.8131 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/1.12, allocations: 0.6846 MB / 0.8137 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007856/1.121, allocations: 454.8 kB / 0.8142 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007989/1.121, allocations: 0.6771 MB / 0.8148 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/1.121, allocations: 39.12 kB / 0.8149 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 3.116e-06/1.122, allocations: 0 / 0.8149 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.002267/1.124, allocations: 0.994 MB / 0.8158 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/1.124, allocations: 63.91 kB / 0.8159 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009802/1.125, allocations: 0.6372 MB / 0.8165 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.515e-05/1.125, allocations: 41.7 kB / 0.8165 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/1.125, allocations: 424.1 kB / 0.817 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003452/1.126, allocations: 260.3 kB / 0.8172 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/1.126, allocations: 61.67 kB / 0.8173 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002796/1.126, allocations: 386.8 kB / 0.8176 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/1.127, allocations: 277.1 kB / 0.8179 GB, free: 296 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006689/1.127, allocations: 370.8 kB / 0.8182 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/1.129, allocations: 0.6626 MB / 0.8189 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/1.129, allocations: 0 / 0.8189 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001498/1.13, allocations: 0.8008 MB / 0.8197 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/1.13, allocations: 4 kB / 0.8197 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.887e-05/1.13, allocations: 4.188 kB / 0.8197 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/1.13, allocations: 12 kB / 0.8197 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/1.131, allocations: 143.8 kB / 0.8198 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/1.131, allocations: 7.938 kB / 0.8198 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/1.132, allocations: 104.4 kB / 0.8199 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.096e-05/1.132, allocations: 25.08 kB / 0.82 GB, free: 14.13 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005961/1.133, allocations: 285.6 kB / 0.8202 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/1.133, allocations: 83.06 kB / 0.8203 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/1.134, allocations: 0.8027 MB / 0.8211 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.723e-05/1.134, allocations: 11.94 kB / 0.8211 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/1.134, allocations: 0 / 0.8211 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00118/1.136, allocations: 0.8153 MB / 0.8219 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003136/1.139, allocations: 1.844 MB / 0.8237 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.139, allocations: 3.938 kB / 0.8237 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007976/1.14, allocations: 175.8 kB / 0.8239 GB, free: 9.988 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/1.14, allocations: 4 kB / 0.8239 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/1.14, allocations: 15.98 kB / 0.8239 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.862e-06/1.14, allocations: 4 kB / 0.8239 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/1.14, allocations: 0 / 0.8239 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/1.142, allocations: 1.287 MB / 0.8252 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004651/1.142, allocations: 244 kB / 0.8254 GB, free: 8.406 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/1.142, allocations: 19.98 kB / 0.8254 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007595/1.143, allocations: 77.31 kB / 0.8255 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/1.143, allocations: 44.44 kB / 0.8255 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.955e-05/1.143, allocations: 24 kB / 0.8255 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000577/1.144, allocations: 455 kB / 0.826 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/1.144, allocations: 0 / 0.826 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009323/1.145, allocations: 339.2 kB / 0.8263 GB, free: 7.473 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002329/1.147, allocations: 1.917 MB / 0.8282 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001152/1.148, allocations: 0.6835 MB / 0.8288 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.148, allocations: 0 / 0.8288 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005216/1.149, allocations: 371 kB / 0.8292 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/1.151, allocations: 0.5208 MB / 0.8297 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/1.162, allocations: 7.696 MB / 0.8372 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.163, allocations: 1.089 MB / 0.8383 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001417/1.165, allocations: 219.5 kB / 0.8385 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006243/1.165, allocations: 367.3 kB / 0.8388 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of SimCode: time 2.585e-06/1.165, allocations: 0 / 0.8388 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04886/1.214, allocations: 23.98 MB / 0.8623 GB, free: 2.801 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003849/1.215, allocations: 197.4 kB / 0.8625 GB, free: 2.543 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.532/3.747, allocations: 0 / 0.8625 GB, free: 2.543 MB / 0.67 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/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)