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.0008629/0.0008629, allocations: 97.95 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009098/0.0009099, allocations: 180.3 kB / 16.92 MB, free: 6.898 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.191/1.191, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6194/0.6194, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002609/0.0002609, allocations: 13.66 kB / 496 MB, free: 6.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1123, allocations: 77.53 MB / 0.56 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.Orifice): time 0.3389/0.4513, allocations: 169.3 MB / 0.7254 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00291/0.4542, allocations: 2.299 MB / 0.7276 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003212/0.4546, allocations: 15.88 kB / 0.7276 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005058/0.4551, allocations: 186.8 kB / 0.7278 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001568/0.4567, allocations: 0.8753 MB / 0.7287 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.4582, allocations: 0.7504 MB / 0.7294 GB, free: 9.309 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001196/0.4594, allocations: 1.333 MB / 0.7307 GB, free: 7.973 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003865/0.4598, allocations: 282.2 kB / 0.731 GB, free: 7.691 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005859/0.4604, allocations: 418.2 kB / 0.7314 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003408/0.4607, allocations: 310.7 kB / 0.7317 GB, free: 6.977 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.278e-05/0.4608, allocations: 20 kB / 0.7317 GB, free: 6.957 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.4622, allocations: 1.165 MB / 0.7328 GB, free: 5.789 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.4624, allocations: 143.5 kB / 0.733 GB, free: 5.648 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001995/0.4626, allocations: 236.6 kB / 0.7332 GB, free: 5.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.4636, allocations: 0.9502 MB / 0.7341 GB, free: 4.457 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4636, allocations: 4 kB / 0.7341 GB, free: 4.453 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4636, allocations: 0 / 0.7341 GB, free: 4.453 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.4637, allocations: 0 / 0.7341 GB, free: 4.453 MB / 0.545 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.0009614/0.4646, allocations: 0.7354 MB / 0.7348 GB, free: 3.672 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.4647, allocations: 8.031 kB / 0.7348 GB, free: 3.664 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.381e-05/0.4647, allocations: 70.47 kB / 0.7349 GB, free: 3.586 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.4658, allocations: 179.2 kB / 0.7351 GB, free: 3.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.4662, allocations: 377.4 kB / 0.7354 GB, free: 3.004 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.4663, allocations: 24.66 kB / 0.7355 GB, free: 2.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.501e-05/0.4663, allocations: 28 kB / 0.7355 GB, free: 2.953 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005285/0.4668, allocations: 377.1 kB / 0.7358 GB, free: 2.559 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4669, allocations: 0 / 0.7358 GB, free: 2.559 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.4669, allocations: 20.88 kB / 0.7359 GB, free: 2.539 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.4669, allocations: 15.92 kB / 0.7359 GB, free: 2.523 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004545/0.4674, allocations: 266 kB / 0.7361 GB, free: 2.266 MB / 0.545 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.001492/0.4689, allocations: 1.675 MB / 0.7378 GB, free: 464 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.4692, allocations: 211.2 kB / 0.738 GB, free: 244 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.4694, allocations: 123.4 kB / 0.7381 GB, free: 120 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008668/0.4703, allocations: 0.8896 MB / 0.739 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.4703, allocations: 30.56 kB / 0.739 GB, free: 15 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=23): time 1.332e-06/0.4703, allocations: 0 / 0.739 GB, free: 15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.0007785/0.4711, allocations: 380.2 kB / 0.7394 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.4712, allocations: 51.41 kB / 0.7394 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003742/0.4715, allocations: 429.9 kB / 0.7398 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.4716, allocations: 29.7 kB / 0.7398 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.4717, allocations: 216.2 kB / 0.74 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.272e-05/0.4718, allocations: 82.83 kB / 0.7401 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.4718, allocations: 29.7 kB / 0.7402 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.4719, allocations: 350.7 kB / 0.7405 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.4721, allocations: 83.95 kB / 0.7406 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.4723, allocations: 128.3 kB / 0.7407 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.4727, allocations: 227.2 kB / 0.7409 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.4727, allocations: 0 / 0.7409 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004711/0.4732, allocations: 290.7 kB / 0.7412 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.4732, allocations: 7.984 kB / 0.7412 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4732, allocations: 0 / 0.7412 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.4732, allocations: 8.031 kB / 0.7412 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.4734, allocations: 51.92 kB / 0.7412 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.4734, allocations: 4 kB / 0.7413 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.4737, allocations: 47.59 kB / 0.7413 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.4737, allocations: 8 kB / 0.7413 GB, free: 12.55 MB / 0.5606 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.0001321/0.4738, allocations: 165.8 kB / 0.7415 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.295e-05/0.4739, allocations: 39.53 kB / 0.7415 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005161/0.4744, allocations: 293.1 kB / 0.7418 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.4744, allocations: 15.88 kB / 0.7418 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.4745, allocations: 3.938 kB / 0.7418 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.4745, allocations: 7.922 kB / 0.7418 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.4755, allocations: 0.8114 MB / 0.7426 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4755, allocations: 0 / 0.7426 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.4757, allocations: 51.92 kB / 0.7426 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4757, allocations: 112 / 0.7426 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.4757, allocations: 12.12 kB / 0.7427 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.4758, allocations: 7.984 kB / 0.7427 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.4758, allocations: 7.938 kB / 0.7427 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006767/0.4764, allocations: 0.5183 MB / 0.7432 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.4766, allocations: 144.6 kB / 0.7433 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/0.4766, allocations: 12 kB / 0.7433 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.4769, allocations: 27.88 kB / 0.7434 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.477, allocations: 19.92 kB / 0.7434 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.477, allocations: 12 kB / 0.7434 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002634/0.4772, allocations: 307.1 kB / 0.7437 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4773, allocations: 0 / 0.7437 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003577/0.4776, allocations: 111.9 kB / 0.7438 GB, free: 9.871 MB / 0.5606 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.001107/0.4787, allocations: 1.143 MB / 0.7449 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004088/0.4792, allocations: 223.7 kB / 0.7451 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4792, allocations: 3.938 kB / 0.7451 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.4794, allocations: 120.2 kB / 0.7452 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.4804, allocations: 211.7 kB / 0.7454 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/0.4845, allocations: 3.963 MB / 0.7493 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.4849, allocations: 0.8307 MB / 0.7501 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000236/0.4851, allocations: 79.36 kB / 0.7502 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.4853, allocations: 139.4 kB / 0.7503 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.4853, allocations: 0 / 0.7503 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.719/3.205, allocations: 11.36 MB / 0.7614 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/3.205, allocations: 227.4 kB / 0.7616 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/5.032, allocations: 4 kB / 0.7616 GB, free: 7.617 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 & /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)