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.001233/0.001232, allocations: 108 kB / 15.61 MB, free: 152 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.001645/0.001645, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.47/1.47, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.043/1.043, allocations: 135.1 MB / 425.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 67.98 kB / 0.5053 GB, free: 5.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2013, allocations: 80.93 MB / 0.5844 GB, free: 4.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.4822/0.6835, allocations: 173.8 MB / 0.7541 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00395/0.6875, allocations: 2.3 MB / 0.7563 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000542/0.6881, allocations: 22.31 kB / 0.7564 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007746/0.6888, allocations: 229.8 kB / 0.7566 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002288/0.6912, allocations: 0.9302 MB / 0.7575 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00262/0.6938, allocations: 0.8079 MB / 0.7583 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002023/0.6958, allocations: 0.9721 MB / 0.7592 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006156/0.6965, allocations: 330.9 kB / 0.7595 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008506/0.6973, allocations: 450.4 kB / 0.76 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003782/0.6977, allocations: 318.7 kB / 0.7603 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.91e-05/0.6978, allocations: 32 kB / 0.7603 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.6999, allocations: 0.9859 MB / 0.7613 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.7001, allocations: 155.5 kB / 0.7614 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002769/0.7004, allocations: 226.9 kB / 0.7616 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.702, allocations: 0.9115 MB / 0.7625 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7021, allocations: 4 kB / 0.7625 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7021, allocations: 0 / 0.7625 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.7021, allocations: 0 / 0.7625 GB, free: 6.469 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.001329/0.7034, allocations: 0.8019 MB / 0.7633 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.7035, allocations: 8.031 kB / 0.7633 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.7047, allocations: 183.2 kB / 0.7635 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.7053, allocations: 373.4 kB / 0.7638 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.7053, allocations: 24.66 kB / 0.7639 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.566e-05/0.7054, allocations: 31.98 kB / 0.7639 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000607/0.706, allocations: 373.1 kB / 0.7643 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.706, allocations: 3.938 kB / 0.7643 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.7061, allocations: 12 kB / 0.7643 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/0.7061, allocations: 11.94 kB / 0.7643 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000513/0.7066, allocations: 262 kB / 0.7645 GB, free: 4.305 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.001839/0.7085, allocations: 1.679 MB / 0.7662 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.7089, allocations: 202.5 kB / 0.7664 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.7091, allocations: 117.8 kB / 0.7665 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/0.7102, allocations: 0.8701 MB / 0.7673 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.7102, allocations: 39.12 kB / 0.7674 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 2.354e-06/0.7102, allocations: 0 / 0.7674 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0009129/0.7112, allocations: 360.8 kB / 0.7677 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.7112, allocations: 55.41 kB / 0.7678 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004562/0.7117, allocations: 422 kB / 0.7682 GB, free: 228 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.7117, allocations: 33.7 kB / 0.7682 GB, free: 188 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.7119, allocations: 216.2 kB / 0.7684 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.7119, allocations: 78.86 kB / 0.7685 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.81e-05/0.712, allocations: 53.69 kB / 0.7685 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.7122, allocations: 350.7 kB / 0.7689 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.7124, allocations: 80.06 kB / 0.7689 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.7127, allocations: 132.5 kB / 0.7691 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.7131, allocations: 206.4 kB / 0.7693 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.7131, allocations: 1.188 kB / 0.7693 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005078/0.7136, allocations: 285 kB / 0.7695 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.7136, allocations: 8 kB / 0.7695 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.7136, allocations: 0 / 0.7695 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.7137, allocations: 0 / 0.7695 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.7139, allocations: 51.97 kB / 0.7696 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.7139, allocations: 4 kB / 0.7696 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.7142, allocations: 39.55 kB / 0.7696 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.7142, allocations: 8 kB / 0.7696 GB, free: 14.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.0001964/0.7144, allocations: 163.2 kB / 0.7698 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.71e-05/0.7145, allocations: 43.52 kB / 0.7698 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000595/0.7151, allocations: 290.2 kB / 0.7701 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.7152, allocations: 0 / 0.7701 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.7152, allocations: 0 / 0.7701 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.7152, allocations: 7.922 kB / 0.7701 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.7164, allocations: 0.8136 MB / 0.7709 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.7165, allocations: 4 kB / 0.7709 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.7167, allocations: 48.09 kB / 0.771 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.7167, allocations: 8 kB / 0.771 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.7167, allocations: 8 kB / 0.771 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.7168, allocations: 4 kB / 0.771 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7168, allocations: 3.938 kB / 0.771 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008364/0.7176, allocations: 0.4997 MB / 0.7715 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.7178, allocations: 144.6 kB / 0.7716 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.324e-05/0.7179, allocations: 8 kB / 0.7716 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.7181, allocations: 11.98 kB / 0.7716 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.7182, allocations: 30.34 kB / 0.7717 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.7182, allocations: 8 kB / 0.7717 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003786/0.7186, allocations: 303.1 kB / 0.772 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7186, allocations: 0 / 0.772 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000518/0.7191, allocations: 115.8 kB / 0.7721 GB, free: 12.04 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.0005228/0.7197, allocations: 202.6 kB / 0.7723 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005547/0.7202, allocations: 216.3 kB / 0.7725 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.7203, allocations: 4.062 kB / 0.7725 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.7205, allocations: 113.5 kB / 0.7726 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.7216, allocations: 224.9 kB / 0.7728 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.7232, allocations: 0.9045 MB / 0.7737 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.7237, allocations: 0.8271 MB / 0.7745 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000326/0.724, allocations: 95.27 kB / 0.7746 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.588e-05/0.7241, allocations: 35.44 kB / 0.7746 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/0.7241, allocations: 0 / 0.7746 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of Templates: time 0.01451/0.7386, allocations: 8.034 MB / 0.7825 GB, free: 1.523 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)