Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.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.Orifice,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice",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.000986/0.000986, allocations: 109.4 kB / 16.41 MB, free: 6.488 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.000971/0.000971, allocations: 199.1 kB / 17.34 MB, free: 5.762 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.188/1.188, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6527/0.6527, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 67.09 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.12, allocations: 76.18 MB / 0.6316 GB, free: 4.895 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.Orifice): time 0.4444/0.5644, allocations: 173.8 MB / 0.8013 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00301/0.5674, allocations: 2.297 MB / 0.8035 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004926/0.5679, allocations: 18.69 kB / 0.8036 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006234/0.5686, allocations: 230.1 kB / 0.8038 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.5705, allocations: 0.9315 MB / 0.8047 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.5721, allocations: 0.8223 MB / 0.8055 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001018/0.5732, allocations: 0.9663 MB / 0.8064 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004562/0.5736, allocations: 341.3 kB / 0.8068 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006715/0.5743, allocations: 460.4 kB / 0.8072 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003951/0.5747, allocations: 313.6 kB / 0.8075 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.067e-05/0.5748, allocations: 36.62 kB / 0.8075 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.5762, allocations: 0.9967 MB / 0.8085 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.5763, allocations: 142 kB / 0.8086 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.5766, allocations: 242.1 kB / 0.8089 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.5777, allocations: 0.8931 MB / 0.8097 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.5777, allocations: 4 kB / 0.8097 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.193e-06/0.5777, allocations: 0 / 0.8097 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.534e-05/0.5777, allocations: 0 / 0.8097 GB, free: 10.5 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001207/0.579, allocations: 0.8138 MB / 0.8105 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.579, allocations: 14.44 kB / 0.8106 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.582e-05/0.5791, allocations: 68.94 kB / 0.8106 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.5803, allocations: 183.8 kB / 0.8108 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005586/0.5808, allocations: 387 kB / 0.8112 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.5809, allocations: 24.12 kB / 0.8112 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.717e-05/0.5809, allocations: 30.34 kB / 0.8112 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005355/0.5815, allocations: 374.7 kB / 0.8116 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.5815, allocations: 0 / 0.8116 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.5815, allocations: 15.22 kB / 0.8116 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.5815, allocations: 11.62 kB / 0.8116 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004345/0.582, allocations: 260.7 kB / 0.8118 GB, free: 9.23 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.001623/0.5836, allocations: 1.67 MB / 0.8135 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.5839, allocations: 203.7 kB / 0.8137 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.5841, allocations: 116.6 kB / 0.8138 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008965/0.585, allocations: 0.8684 MB / 0.8146 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.5851, allocations: 34.56 kB / 0.8147 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.843e-06/0.5851, allocations: 0 / 0.8147 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.0007891/0.5859, allocations: 357.3 kB / 0.815 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.5859, allocations: 58.25 kB / 0.8151 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003672/0.5863, allocations: 426.3 kB / 0.8155 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.5863, allocations: 32.69 kB / 0.8155 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.5865, allocations: 212.9 kB / 0.8157 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.473e-05/0.5865, allocations: 80.72 kB / 0.8158 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.955e-05/0.5866, allocations: 53.61 kB / 0.8158 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.5867, allocations: 357.6 kB / 0.8162 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.5869, allocations: 72.64 kB / 0.8162 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.5871, allocations: 127.8 kB / 0.8164 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.5874, allocations: 211.7 kB / 0.8166 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5874, allocations: 0 / 0.8166 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004403/0.5879, allocations: 286.1 kB / 0.8168 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.5879, allocations: 4.688 kB / 0.8168 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5879, allocations: 0 / 0.8168 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.5879, allocations: 2.188 kB / 0.8168 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.5881, allocations: 56.31 kB / 0.8169 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.5882, allocations: 2.125 kB / 0.8169 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.5884, allocations: 34.98 kB / 0.8169 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.5884, allocations: 15.53 kB / 0.8169 GB, free: 5.633 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (28): * Single equations (assignments): 28 * 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.0001372/0.5885, allocations: 161.1 kB / 0.8171 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/0.5886, allocations: 39.66 kB / 0.8171 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004751/0.5891, allocations: 299.2 kB / 0.8174 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.5891, allocations: 2.906 kB / 0.8174 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.5891, allocations: 3.938 kB / 0.8174 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.5891, allocations: 3.938 kB / 0.8174 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.5902, allocations: 0.8107 MB / 0.8182 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.5902, allocations: 6.422 kB / 0.8182 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.5904, allocations: 39.23 kB / 0.8183 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.5904, allocations: 6.594 kB / 0.8183 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.5904, allocations: 6.719 kB / 0.8183 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.5904, allocations: 10.48 kB / 0.8183 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5904, allocations: 2.469 kB / 0.8183 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006508/0.5911, allocations: 0.5012 MB / 0.8188 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.5912, allocations: 145.2 kB / 0.8189 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/0.5913, allocations: 8.719 kB / 0.8189 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.5915, allocations: 15.39 kB / 0.8189 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.5916, allocations: 23.34 kB / 0.819 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.5916, allocations: 11.75 kB / 0.819 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002619/0.5919, allocations: 304.2 kB / 0.8193 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5919, allocations: 3.938 kB / 0.8193 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003731/0.5923, allocations: 113.1 kB / 0.8194 GB, free: 4.008 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * 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 (23): * Single equations (assignments): 23 * 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.001178/0.5934, allocations: 1.134 MB / 0.8205 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004151/0.5939, allocations: 212.2 kB / 0.8207 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5939, allocations: 3.938 kB / 0.8207 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.5941, allocations: 110.6 kB / 0.8208 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009649/0.595, allocations: 238.6 kB / 0.821 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004169/0.5992, allocations: 3.669 MB / 0.8246 GB, free: 276 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.5996, allocations: 0.8244 MB / 0.8254 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002415/0.5998, allocations: 82.83 kB / 0.8255 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.6, allocations: 142.5 kB / 0.8256 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.6, allocations: 0 / 0.8256 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02902/0.629, allocations: 12.28 MB / 0.8376 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.424/8.053, allocations: 7.922 kB / 0.8376 GB, free: 8.578 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)