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.00114/0.00114, allocations: 103.3 kB / 16.4 MB, free: 6.492 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.001175/0.001175, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7277/0.7277, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 64.27 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1439, allocations: 76.18 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.Orifice): time 0.5664/0.7103, allocations: 173.8 MB / 0.8013 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004035/0.7144, allocations: 2.308 MB / 0.8035 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008033/0.7152, allocations: 15.62 kB / 0.8036 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009257/0.7162, allocations: 230 kB / 0.8038 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002493/0.7188, allocations: 0.931 MB / 0.8047 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002198/0.721, allocations: 0.8313 MB / 0.8055 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001391/0.7224, allocations: 0.9616 MB / 0.8064 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000619/0.723, allocations: 347.8 kB / 0.8068 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009394/0.724, allocations: 452.3 kB / 0.8072 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005628/0.7245, allocations: 321.4 kB / 0.8075 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.94e-05/0.7247, allocations: 32.59 kB / 0.8075 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.7265, allocations: 0.9886 MB / 0.8085 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.7267, allocations: 151.2 kB / 0.8086 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003479/0.7271, allocations: 231.4 kB / 0.8089 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.7288, allocations: 0.9012 MB / 0.8097 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.7289, allocations: 2.75 kB / 0.8097 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7289, allocations: 3.938 kB / 0.8097 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.144e-05/0.7289, 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.00157/0.7305, allocations: 0.8156 MB / 0.8105 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.7305, allocations: 7.344 kB / 0.8106 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.253e-05/0.7306, allocations: 68.41 kB / 0.8106 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.7319, allocations: 177.4 kB / 0.8108 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007469/0.7327, allocations: 390.2 kB / 0.8112 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.7327, allocations: 23.72 kB / 0.8112 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.7328, allocations: 34.72 kB / 0.8112 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006124/0.7334, allocations: 365.7 kB / 0.8116 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.7334, allocations: 0 / 0.8116 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.7334, allocations: 15.31 kB / 0.8116 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.7335, allocations: 21.7 kB / 0.8116 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005023/0.734, allocations: 257.9 kB / 0.8118 GB, free: 9.238 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.001954/0.736, allocations: 1.667 MB / 0.8135 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.7363, allocations: 214.6 kB / 0.8137 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.7366, allocations: 115.3 kB / 0.8138 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/0.7376, allocations: 0.8716 MB / 0.8146 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.7376, allocations: 34.06 kB / 0.8147 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.643e-06/0.7377, allocations: 0 / 0.8147 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.0009567/0.7386, allocations: 362.4 kB / 0.815 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.7387, allocations: 54.66 kB / 0.8151 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005178/0.7392, allocations: 425.1 kB / 0.8155 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.7392, allocations: 29.27 kB / 0.8155 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.7394, allocations: 214.3 kB / 0.8157 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.88e-05/0.7395, allocations: 82.94 kB / 0.8158 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.7396, allocations: 51.11 kB / 0.8158 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.7398, allocations: 357.8 kB / 0.8162 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.74, allocations: 75.39 kB / 0.8162 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.7402, allocations: 123 kB / 0.8164 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.7406, allocations: 208.7 kB / 0.8166 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.7407, allocations: 0 / 0.8166 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005834/0.7412, allocations: 282.2 kB / 0.8168 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.7413, allocations: 5.156 kB / 0.8168 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.7413, allocations: 0.6875 kB / 0.8168 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.7413, allocations: 6.422 kB / 0.8168 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.7416, allocations: 52.52 kB / 0.8169 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.7416, allocations: 2.5 kB / 0.8169 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.7419, allocations: 40.11 kB / 0.8169 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.7419, allocations: 8.844 kB / 0.8169 GB, free: 5.637 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.0001881/0.7421, allocations: 164 kB / 0.8171 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.883e-05/0.7422, allocations: 39.72 kB / 0.8171 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005653/0.7428, allocations: 299.5 kB / 0.8174 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.7428, allocations: 2.844 kB / 0.8174 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.7428, allocations: 3.938 kB / 0.8174 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.7428, allocations: 4.047 kB / 0.8174 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.744, allocations: 0.8153 MB / 0.8182 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.744, allocations: 2.219 kB / 0.8182 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.7443, allocations: 47.06 kB / 0.8183 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.7443, allocations: 2.938 kB / 0.8183 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.7443, allocations: 8.406 kB / 0.8183 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.7443, allocations: 3 kB / 0.8183 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7443, allocations: 4.125 kB / 0.8183 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007862/0.7451, allocations: 0.5092 MB / 0.8188 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.7453, allocations: 143 kB / 0.8189 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.263e-05/0.7454, allocations: 10.73 kB / 0.8189 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.7457, allocations: 11.36 kB / 0.8189 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.7458, allocations: 19.55 kB / 0.819 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.7458, allocations: 7.406 kB / 0.819 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003511/0.7461, allocations: 312.1 kB / 0.8193 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7461, allocations: 0 / 0.8193 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004955/0.7466, allocations: 119.4 kB / 0.8194 GB, free: 4.012 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.001337/0.748, allocations: 1.124 MB / 0.8205 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004822/0.7485, allocations: 217.9 kB / 0.8207 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7485, allocations: 0 / 0.8207 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.7487, allocations: 117.2 kB / 0.8208 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.7498, allocations: 226.9 kB / 0.821 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00477/0.7546, allocations: 3.677 MB / 0.8246 GB, free: 284 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.755, allocations: 0.8177 MB / 0.8254 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003091/0.7554, allocations: 87.47 kB / 0.8255 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.7556, allocations: 137.8 kB / 0.8256 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.7556, allocations: 2.75 kB / 0.8256 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03484/0.7904, allocations: 12.28 MB / 0.8376 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/8.943, allocations: 15.94 kB / 0.8376 GB, free: 8.52 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)