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: translateModel(IBPSA.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice") translateModel(IBPSA.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 104 kB / 16.94 MB, free: 6.191 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.001328/0.001328, allocations: 189.3 kB / 17.86 MB, free: 5.293 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.474/1.474, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8227/0.8227, allocations: 125.4 MB / 417.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 75.8 kB / 0.4948 GB, free: 4.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4104, allocations: 78.56 MB / 0.5715 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.Orifice): time 0.2252/0.6357, allocations: 173.8 MB / 0.7412 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004638/0.6404, allocations: 2.307 MB / 0.7435 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005353/0.641, allocations: 11.94 kB / 0.7435 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008496/0.6418, allocations: 234.4 kB / 0.7437 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002541/0.6444, allocations: 0.9254 MB / 0.7446 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00236/0.6468, allocations: 0.8216 MB / 0.7454 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001519/0.6483, allocations: 0.9506 MB / 0.7464 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005567/0.6489, allocations: 340 kB / 0.7467 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.6502, allocations: 0.5916 MB / 0.7473 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004232/0.6506, allocations: 302.8 kB / 0.7476 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.258e-05/0.6507, allocations: 32 kB / 0.7476 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/0.6528, allocations: 0.9781 MB / 0.7485 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002013/0.653, allocations: 151.5 kB / 0.7487 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002787/0.6533, allocations: 238.9 kB / 0.7489 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.6548, allocations: 0.8921 MB / 0.7498 GB, free: 392 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.6548, allocations: 0 / 0.7498 GB, free: 392 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6548, allocations: 0 / 0.7498 GB, free: 392 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.6548, allocations: 4 kB / 0.7498 GB, free: 388 kB / 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.3574/1.012, allocations: 0.805 MB / 0.7506 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/1.012, allocations: 11.12 kB / 0.7506 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/1.014, allocations: 180.5 kB / 0.7508 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006369/1.015, allocations: 367 kB / 0.7511 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/1.015, allocations: 21.38 kB / 0.7511 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.449e-05/1.015, allocations: 36.64 kB / 0.7512 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008093/1.015, allocations: 370.4 kB / 0.7515 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/1.015, allocations: 4.594 kB / 0.7515 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/1.016, allocations: 17.06 kB / 0.7515 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.003e-05/1.016, allocations: 11.14 kB / 0.7516 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006217/1.016, allocations: 262.8 kB / 0.7518 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/1.018, allocations: 1.68 MB / 0.7534 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00044/1.019, allocations: 203.7 kB / 0.7536 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/1.019, allocations: 115.9 kB / 0.7537 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009865/1.02, allocations: 0.8692 MB / 0.7546 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/1.02, allocations: 37.3 kB / 0.7546 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 2.244e-06/1.02, allocations: 1.031 kB / 0.7546 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.001079/1.021, allocations: 358 kB / 0.755 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/1.021, allocations: 55.58 kB / 0.755 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005812/1.022, allocations: 427.5 kB / 0.7554 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/1.022, allocations: 31.14 kB / 0.7555 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/1.022, allocations: 213.1 kB / 0.7557 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.927e-05/1.022, allocations: 82.66 kB / 0.7557 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.401e-05/1.022, allocations: 50.61 kB / 0.7558 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001048/1.022, allocations: 359.2 kB / 0.7561 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/1.022, allocations: 75.69 kB / 0.7562 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/1.023, allocations: 123.2 kB / 0.7563 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004426/1.023, allocations: 213.3 kB / 0.7565 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/1.023, allocations: 0.5312 kB / 0.7565 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006349/1.024, allocations: 287.6 kB / 0.7568 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/1.024, allocations: 6.281 kB / 0.7568 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.024, allocations: 1.062 kB / 0.7568 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/1.024, allocations: 3.375 kB / 0.7568 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/1.024, allocations: 51.06 kB / 0.7569 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/1.024, allocations: 6.781 kB / 0.7569 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/1.024, allocations: 32.52 kB / 0.7569 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/1.025, allocations: 12.72 kB / 0.7569 GB, free: 168.5 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.0001856/1.025, allocations: 155.8 kB / 0.7571 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.694e-05/1.025, allocations: 48.77 kB / 0.7571 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00068/1.026, allocations: 285.3 kB / 0.7574 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/1.026, allocations: 6 kB / 0.7574 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/1.026, allocations: 4.938 kB / 0.7574 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.026, allocations: 0 / 0.7574 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/1.027, allocations: 0.8118 MB / 0.7582 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/1.027, allocations: 3.031 kB / 0.7582 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/1.027, allocations: 45.95 kB / 0.7582 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/1.027, allocations: 2.906 kB / 0.7582 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/1.027, allocations: 9.891 kB / 0.7582 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-06/1.027, allocations: 3.234 kB / 0.7582 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.027, allocations: 2.281 kB / 0.7582 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009732/1.028, allocations: 0.5146 MB / 0.7587 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/1.029, allocations: 143.8 kB / 0.7589 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.44e-05/1.029, allocations: 7.969 kB / 0.7589 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/1.029, allocations: 11.83 kB / 0.7589 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.341e-05/1.029, allocations: 22.78 kB / 0.7589 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/1.029, allocations: 13.5 kB / 0.7589 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004534/1.029, allocations: 298.9 kB / 0.7592 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/1.029, allocations: 0.5625 kB / 0.7592 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005752/1.03, allocations: 115.1 kB / 0.7593 GB, free: 167 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.0005265/1.031, allocations: 183.5 kB / 0.7595 GB, free: 167 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005893/1.031, allocations: 224.6 kB / 0.7597 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.031, allocations: 0 / 0.7597 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002275/1.031, allocations: 114.9 kB / 0.7598 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/1.033, allocations: 224.6 kB / 0.76 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/1.034, allocations: 0.9428 MB / 0.761 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/1.035, allocations: 0.8316 MB / 0.7618 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/1.035, allocations: 39.55 kB / 0.7618 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/1.035, allocations: 0 / 0.7618 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.01437/1.049, allocations: 6.598 MB / 0.7683 GB, free: 162.6 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.makefile (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 & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)