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.0009749/0.000975, allocations: 100.6 kB / 16.27 MB, free: 5.93 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.0009116/0.0009117, allocations: 188.2 kB / 17.2 MB, free: 5.574 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.183/1.183, allocations: 222.9 MB / 240.9 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6695/0.6695, allocations: 122.9 MB / 413.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001222, allocations: 59.91 kB / 0.4912 GB, free: 7.387 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2877, allocations: 77.93 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.Orifice): time 0.1597/0.4474, allocations: 173.8 MB / 0.737 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003658/0.4511, allocations: 2.299 MB / 0.7392 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005518/0.4517, allocations: 15.88 kB / 0.7393 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007697/0.4525, allocations: 230.4 kB / 0.7395 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002198/0.4548, allocations: 0.9294 MB / 0.7404 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.4567, allocations: 0.82 MB / 0.7412 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001116/0.4578, allocations: 0.9585 MB / 0.7421 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004785/0.4583, allocations: 338.9 kB / 0.7424 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000689/0.459, allocations: 458.4 kB / 0.7429 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004373/0.4595, allocations: 322.6 kB / 0.7432 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.189e-05/0.4596, allocations: 32 kB / 0.7432 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.4612, allocations: 0.9936 MB / 0.7442 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.4614, allocations: 139.6 kB / 0.7443 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002611/0.4617, allocations: 238.8 kB / 0.7446 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.4631, allocations: 0.896 MB / 0.7454 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4631, allocations: 0 / 0.7454 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4631, allocations: 0 / 0.7454 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.4631, allocations: 0 / 0.7454 GB, free: 3.777 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001295/0.4644, allocations: 0.806 MB / 0.7462 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.4645, allocations: 8.625 kB / 0.7462 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.311e-05/0.4645, allocations: 70.53 kB / 0.7463 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.4658, allocations: 183.2 kB / 0.7465 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004847/0.4663, allocations: 369.4 kB / 0.7468 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.4663, allocations: 20.66 kB / 0.7468 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.4664, allocations: 36 kB / 0.7469 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000572/0.467, allocations: 365.1 kB / 0.7472 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.467, allocations: 0 / 0.7472 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/0.467, allocations: 12 kB / 0.7472 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/0.4671, allocations: 27.86 kB / 0.7473 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000494/0.4676, allocations: 254 kB / 0.7475 GB, free: 1.531 MB / 0.5762 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.2052/0.6728, allocations: 1.678 MB / 0.7491 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.6732, allocations: 205.3 kB / 0.7493 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.6734, allocations: 114.7 kB / 0.7494 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000814/0.6742, allocations: 0.8741 MB / 0.7503 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.6743, allocations: 41.58 kB / 0.7503 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 2.234e-06/0.6743, allocations: 0 / 0.7503 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0008507/0.6751, allocations: 355.1 kB / 0.7507 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.6752, allocations: 54.44 kB / 0.7507 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004154/0.6756, allocations: 423.9 kB / 0.7511 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.6756, allocations: 31.23 kB / 0.7512 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.6757, allocations: 214.3 kB / 0.7514 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.747e-05/0.6758, allocations: 79.22 kB / 0.7514 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.385e-05/0.6759, allocations: 52 kB / 0.7515 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.317e-05/0.6759, allocations: 357.2 kB / 0.7518 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.6761, allocations: 76.25 kB / 0.7519 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.6763, allocations: 125.1 kB / 0.752 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/0.6767, allocations: 207.3 kB / 0.7522 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6767, allocations: 0.75 kB / 0.7522 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000506/0.6772, allocations: 288.6 kB / 0.7525 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.6773, allocations: 5.812 kB / 0.7525 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.6773, allocations: 0.9062 kB / 0.7525 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.6773, allocations: 6.391 kB / 0.7525 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.6775, allocations: 50.12 kB / 0.7526 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.6775, allocations: 3.609 kB / 0.7526 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.6778, allocations: 36.25 kB / 0.7526 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.6778, allocations: 12.72 kB / 0.7526 GB, free: 170.4 MB / 0.5762 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.0001285/0.6779, allocations: 163.3 kB / 0.7528 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-05/0.678, allocations: 47.88 kB / 0.7528 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005431/0.6785, allocations: 283.9 kB / 0.7531 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.6786, allocations: 3.281 kB / 0.7531 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.6786, allocations: 1.641 kB / 0.7531 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.6786, allocations: 4.391 kB / 0.7531 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.6796, allocations: 0.8159 MB / 0.7539 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6797, allocations: 2.25 kB / 0.7539 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.6799, allocations: 47.05 kB / 0.7539 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.6799, allocations: 4.5 kB / 0.7539 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.6799, allocations: 6.938 kB / 0.7539 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.6799, allocations: 3.953 kB / 0.7539 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.6799, allocations: 7.031 kB / 0.754 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006905/0.6806, allocations: 0.5038 MB / 0.7544 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.6808, allocations: 147.5 kB / 0.7546 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.757e-05/0.6808, allocations: 8.125 kB / 0.7546 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.6811, allocations: 18.03 kB / 0.7546 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.6811, allocations: 21 kB / 0.7546 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.6812, allocations: 17.7 kB / 0.7546 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002863/0.6815, allocations: 298.8 kB / 0.7549 GB, free: 169 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6815, allocations: 1.875 kB / 0.7549 GB, free: 169 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004239/0.6819, allocations: 115.4 kB / 0.755 GB, free: 169 MB / 0.5762 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.001091/0.683, allocations: 1.127 MB / 0.7561 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005028/0.6835, allocations: 220.9 kB / 0.7564 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6835, allocations: 0.7188 kB / 0.7564 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002479/0.6838, allocations: 116.4 kB / 0.7565 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.6849, allocations: 227.7 kB / 0.7567 GB, free: 168 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004149/0.6891, allocations: 3.74 MB / 0.7603 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.6893, allocations: 0.8277 MB / 0.7611 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003094/0.6896, allocations: 91.58 kB / 0.7612 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.6898, allocations: 135.3 kB / 0.7614 GB, free: 165 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.6898, allocations: 0 / 0.7614 GB, free: 165 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.7217, allocations: 11.99 MB / 0.7731 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.191/7.912, allocations: 7.188 kB / 0.7731 GB, free: 160.3 MB / 0.5762 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)