Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice") translateModel(IDEAS.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001485/0.001485, allocations: 108.6 kB / 15.99 MB, free: 6.348 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.001416/0.001416, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.312/1.312, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7824/0.7824, allocations: 135.2 MB / 425.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 63.89 kB / 0.5055 GB, free: 8.688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2878, allocations: 80.92 MB / 0.5846 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.4418/0.7297, allocations: 171.5 MB / 0.752 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003036/0.7327, allocations: 2.279 MB / 0.7542 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002536/0.733, allocations: 13.38 kB / 0.7543 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005899/0.7336, allocations: 191.7 kB / 0.7544 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.7353, allocations: 0.8875 MB / 0.7553 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.7368, allocations: 0.763 MB / 0.756 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007852/0.7376, allocations: 0.9681 MB / 0.757 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003522/0.7379, allocations: 319.6 kB / 0.7573 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004991/0.7385, allocations: 462.7 kB / 0.7577 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000308/0.7388, allocations: 327.1 kB / 0.7581 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.779e-05/0.7388, allocations: 35.78 kB / 0.7581 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.7403, allocations: 1.03 MB / 0.7591 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.7404, allocations: 148.5 kB / 0.7592 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002312/0.7406, allocations: 238.2 kB / 0.7595 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008503/0.7415, allocations: 0.6399 MB / 0.7601 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.7415, allocations: 1.875 kB / 0.7601 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7415, allocations: 0 / 0.7601 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.7415, allocations: 0.8438 kB / 0.7601 GB, free: 1.625 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.001262/0.7428, allocations: 0.8125 MB / 0.7609 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.7428, allocations: 10.83 kB / 0.7609 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.7441, allocations: 179.2 kB / 0.7611 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004997/0.7446, allocations: 380.4 kB / 0.7614 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.7446, allocations: 24.09 kB / 0.7614 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/0.7447, allocations: 32.72 kB / 0.7615 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005948/0.7453, allocations: 367.3 kB / 0.7618 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.7453, allocations: 4.016 kB / 0.7618 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/0.7453, allocations: 15.95 kB / 0.7618 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/0.7454, allocations: 10.59 kB / 0.7619 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004878/0.7459, allocations: 258.5 kB / 0.7621 GB, free: 16.7 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.001922/0.7478, allocations: 1.68 MB / 0.7637 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.7482, allocations: 199.3 kB / 0.7639 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.7485, allocations: 112.6 kB / 0.764 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001174/0.7497, allocations: 0.8747 MB / 0.7649 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.7497, allocations: 37.08 kB / 0.7649 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.533e-06/0.7497, allocations: 0 / 0.7649 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.0008394/0.7506, allocations: 365 kB / 0.7653 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.7506, allocations: 59.19 kB / 0.7653 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003672/0.751, allocations: 423.6 kB / 0.7657 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.751, allocations: 32.52 kB / 0.7658 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.7512, allocations: 213.2 kB / 0.766 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.7512, allocations: 81.84 kB / 0.7661 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.996e-05/0.7513, allocations: 53.34 kB / 0.7661 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.7514, allocations: 351 kB / 0.7664 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.7516, allocations: 77.77 kB / 0.7665 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.7518, allocations: 131.2 kB / 0.7666 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/0.7522, allocations: 203.2 kB / 0.7668 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.7522, allocations: 3.094 kB / 0.7668 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005633/0.7528, allocations: 282.9 kB / 0.7671 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.7528, allocations: 5.469 kB / 0.7671 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.7528, allocations: 3.234 kB / 0.7671 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.7528, allocations: 1.625 kB / 0.7671 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.7531, allocations: 53.45 kB / 0.7672 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.7531, allocations: 2.219 kB / 0.7672 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.7534, allocations: 47.48 kB / 0.7672 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.7534, allocations: 6.562 kB / 0.7672 GB, free: 13.66 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.0001544/0.7535, allocations: 171.8 kB / 0.7674 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.7536, allocations: 44.31 kB / 0.7674 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000499/0.7541, allocations: 288.3 kB / 0.7677 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.7541, allocations: 2.594 kB / 0.7677 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.7541, allocations: 0.9062 kB / 0.7677 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.7542, allocations: 1.094 kB / 0.7677 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.7553, allocations: 0.8089 MB / 0.7685 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.7553, allocations: 3.469 kB / 0.7685 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.7555, allocations: 52.73 kB / 0.7685 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.7555, allocations: 7.656 kB / 0.7686 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.7555, allocations: 7.75 kB / 0.7686 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.7555, allocations: 2.75 kB / 0.7686 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7555, allocations: 7.141 kB / 0.7686 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006507/0.7562, allocations: 0.4947 MB / 0.7691 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.7563, allocations: 152.3 kB / 0.7692 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.818e-05/0.7564, allocations: 4.312 kB / 0.7692 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.7567, allocations: 28.38 kB / 0.7692 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.7568, allocations: 19.61 kB / 0.7693 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.7568, allocations: 12.19 kB / 0.7693 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002597/0.757, allocations: 301.4 kB / 0.7695 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7571, allocations: 0.9062 kB / 0.7696 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004275/0.7575, allocations: 118.7 kB / 0.7697 GB, free: 12.69 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.0004197/0.7579, allocations: 197.4 kB / 0.7699 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004851/0.7584, allocations: 219.5 kB / 0.7701 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.7584, allocations: 1.656 kB / 0.7701 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.7587, allocations: 111 kB / 0.7702 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.7597, allocations: 225.2 kB / 0.7704 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.7613, allocations: 1.074 MB / 0.7714 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.7618, allocations: 0.8275 MB / 0.7722 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.7619, allocations: 34.81 kB / 0.7723 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.7619, allocations: 0 / 0.7723 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of Templates: time 0.00804/0.7699, allocations: 6.601 MB / 0.7787 GB, free: 10.84 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1)