Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IBPSA_latest_IBPSA_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.00108/0.00108, allocations: 102.7 kB / 16.27 MB, free: 6.309 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.00113/0.00113, allocations: 191.6 kB / 17.19 MB, free: 5.93 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.266/1.266, allocations: 222.9 MB / 240.9 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6699/0.6699, allocations: 122.8 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.91 kB / 0.4912 GB, free: 7.379 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2567, allocations: 77.92 MB / 0.5673 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.394/0.6507, allocations: 201.9 MB / 0.7645 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008049/0.6588, allocations: 7.386 MB / 0.7717 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005664/0.6594, allocations: 37.97 kB / 0.7717 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.6606, allocations: 0.6945 MB / 0.7724 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003699/0.6643, allocations: 2.413 MB / 0.7748 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.6664, allocations: 1.226 MB / 0.776 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002247/0.6686, allocations: 2.907 MB / 0.7788 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009424/0.6696, allocations: 0.9533 MB / 0.7797 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.6706, allocations: 1.007 MB / 0.7807 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.672, allocations: 0.9651 MB / 0.7817 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.6721, allocations: 112 kB / 0.7818 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002694/0.6748, allocations: 2.131 MB / 0.7838 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003012/0.6751, allocations: 447.8 kB / 0.7843 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005179/0.6757, allocations: 0.6667 MB / 0.7849 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.6776, allocations: 2.388 MB / 0.7872 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6776, allocations: 0 / 0.7872 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6776, allocations: 0.9375 kB / 0.7873 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.6777, allocations: 0 / 0.7873 GB, free: 1.242 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002379/0.68, allocations: 1.63 MB / 0.7888 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.6801, allocations: 14.97 kB / 0.7889 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.6802, allocations: 137.1 kB / 0.789 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002053/0.6823, allocations: 372.2 kB / 0.7893 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009036/0.6832, allocations: 0.8125 MB / 0.7901 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.6832, allocations: 65.31 kB / 0.7902 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-05/0.6833, allocations: 88.02 kB / 0.7903 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.6846, allocations: 1.043 MB / 0.7913 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.6846, allocations: 6.438 kB / 0.7913 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-05/0.6847, allocations: 36.69 kB / 0.7913 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-05/0.6847, allocations: 47.12 kB / 0.7914 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.6859, allocations: 0.8775 MB / 0.7922 GB, free: 15.83 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.003562/0.6894, allocations: 4.329 MB / 0.7965 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008756/0.6903, allocations: 0.7017 MB / 0.7972 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005971/0.6909, allocations: 458.7 kB / 0.7976 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005107/0.6915, allocations: 0.6743 MB / 0.7983 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.6915, allocations: 43.72 kB / 0.7983 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 1.864e-06/0.6915, allocations: 0 / 0.7983 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.001418/0.6929, allocations: 0.987 MB / 0.7993 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.693, allocations: 66.3 kB / 0.7993 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005616/0.6935, allocations: 0.6307 MB / 0.7999 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.695e-05/0.6936, allocations: 43.92 kB / 0.8 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.6938, allocations: 432.5 kB / 0.8004 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.694, allocations: 254.8 kB / 0.8006 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.6941, allocations: 113.6 kB / 0.8007 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6943, allocations: 389.9 kB / 0.8011 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.6946, allocations: 276.4 kB / 0.8014 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/0.695, allocations: 356.9 kB / 0.8017 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008439/0.6959, allocations: 0.6664 MB / 0.8024 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.6959, allocations: 0.9375 kB / 0.8024 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001006/0.6969, allocations: 0.7904 MB / 0.8031 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.6969, allocations: 5.688 kB / 0.8031 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.6969, allocations: 3.688 kB / 0.8032 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.6969, allocations: 5.094 kB / 0.8032 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005578/0.6975, allocations: 146.8 kB / 0.8033 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.6975, allocations: 8.156 kB / 0.8033 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006334/0.6982, allocations: 48.98 kB / 0.8034 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.6982, allocations: 21.41 kB / 0.8034 GB, free: 11.27 MB / 0.5919 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.0002686/0.6985, allocations: 289.4 kB / 0.8036 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.6986, allocations: 85 kB / 0.8037 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.6997, allocations: 0.8033 MB / 0.8045 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.6997, allocations: 5.781 kB / 0.8045 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.6997, allocations: 3.531 kB / 0.8045 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008676/0.7006, allocations: 0.8143 MB / 0.8053 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.7027, allocations: 1.851 MB / 0.8071 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.7027, allocations: 0.8438 kB / 0.8071 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006985/0.7034, allocations: 168.4 kB / 0.8073 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.7034, allocations: 2.938 kB / 0.8073 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/0.7034, allocations: 20.97 kB / 0.8073 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.7034, allocations: 0.75 kB / 0.8073 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7034, allocations: 1.562 kB / 0.8073 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.7048, allocations: 1.2 MB / 0.8085 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002786/0.7051, allocations: 245.1 kB / 0.8087 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.972e-05/0.7052, allocations: 16.11 kB / 0.8087 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005587/0.7058, allocations: 26.31 kB / 0.8088 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.878e-05/0.7059, allocations: 41.19 kB / 0.8088 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.7059, allocations: 29.41 kB / 0.8088 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003908/0.7063, allocations: 455.3 kB / 0.8093 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7063, allocations: 0 / 0.8093 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005985/0.7069, allocations: 339.2 kB / 0.8096 GB, free: 9.965 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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.001779/0.7087, allocations: 1.835 MB / 0.8114 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001236/0.7099, allocations: 0.8183 MB / 0.8122 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7099, allocations: 2.781 kB / 0.8122 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004132/0.7104, allocations: 368.1 kB / 0.8125 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.7124, allocations: 0.548 MB / 0.8131 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007441/0.7199, allocations: 7.195 MB / 0.8201 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.7204, allocations: 1.091 MB / 0.8212 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007143/0.7211, allocations: 226.5 kB / 0.8214 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00039/0.7215, allocations: 360.8 kB / 0.8217 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.7215, allocations: 0 / 0.8217 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.028/2.749, allocations: 25.09 MB / 0.8462 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/15.91, allocations: 11.48 kB / 0.8462 GB, free: 15.14 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)