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.0009985/0.0009985, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.005711/0.005711, allocations: 171.7 kB / 16.27 MB, free: 6.648 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.407/1.407, allocations: 223.2 MB / 240.3 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9758/0.9758, allocations: 135.3 MB / 426.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003667, allocations: 8 kB / 0.5076 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1992, allocations: 82.31 MB / 0.588 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.5861/0.7853, allocations: 169.3 MB / 0.7533 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004117/0.7895, allocations: 2.296 MB / 0.7556 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004968/0.79, allocations: 14.06 kB / 0.7556 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007741/0.7908, allocations: 188.8 kB / 0.7557 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002228/0.793, allocations: 0.8712 MB / 0.7566 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.7951, allocations: 0.7621 MB / 0.7573 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001463/0.7966, allocations: 1.331 MB / 0.7586 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004289/0.797, allocations: 286 kB / 0.7589 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000656/0.7977, allocations: 408.4 kB / 0.7593 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003777/0.7981, allocations: 318.8 kB / 0.7596 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.267e-05/0.7981, allocations: 19.03 kB / 0.7596 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.8001, allocations: 1.165 MB / 0.7608 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.8002, allocations: 131.5 kB / 0.7609 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.8005, allocations: 252.4 kB / 0.7611 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.8018, allocations: 0.9463 MB / 0.7621 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.8018, allocations: 0 / 0.7621 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8018, allocations: 4 kB / 0.7621 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.8018, allocations: 0 / 0.7621 GB, free: 10.21 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.00119/0.803, allocations: 0.7357 MB / 0.7628 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.8031, allocations: 12.03 kB / 0.7628 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.8043, allocations: 179.1 kB / 0.763 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005367/0.8048, allocations: 369.5 kB / 0.7633 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.8049, allocations: 24.66 kB / 0.7633 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.019e-05/0.805, allocations: 35.91 kB / 0.7634 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006543/0.8056, allocations: 377.1 kB / 0.7637 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.8056, allocations: 0 / 0.7637 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.8057, allocations: 12 kB / 0.7637 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/0.8057, allocations: 15.92 kB / 0.7638 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005333/0.8063, allocations: 274.5 kB / 0.764 GB, free: 8.102 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.001924/0.8082, allocations: 1.671 MB / 0.7656 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.8086, allocations: 211.1 kB / 0.7658 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.8088, allocations: 120 kB / 0.766 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/0.81, allocations: 0.8896 MB / 0.7668 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.81, allocations: 34.56 kB / 0.7669 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 3.827e-06/0.8101, allocations: 112 / 0.7669 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0009337/0.811, allocations: 375.5 kB / 0.7672 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.8111, allocations: 55.34 kB / 0.7673 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004726/0.8115, allocations: 429.8 kB / 0.7677 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.8116, allocations: 29.7 kB / 0.7677 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.8117, allocations: 208.3 kB / 0.7679 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.911e-05/0.8118, allocations: 82.75 kB / 0.768 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.8119, allocations: 33.7 kB / 0.768 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.812, allocations: 350.7 kB / 0.7684 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.8122, allocations: 83.95 kB / 0.7684 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.8125, allocations: 132.5 kB / 0.7686 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.8129, allocations: 215.3 kB / 0.7688 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.8129, allocations: 0 / 0.7688 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005449/0.8134, allocations: 291.8 kB / 0.769 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.8135, allocations: 8 kB / 0.7691 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.8135, allocations: 3.984 kB / 0.7691 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.8135, allocations: 4 kB / 0.7691 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.8137, allocations: 55.52 kB / 0.7691 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.8138, allocations: 7.938 kB / 0.7691 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.814, allocations: 47.59 kB / 0.7692 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.8141, allocations: 8 kB / 0.7692 GB, free: 2.402 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.0001729/0.8142, allocations: 161.8 kB / 0.7693 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.034e-05/0.8143, allocations: 47.44 kB / 0.7694 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006056/0.8149, allocations: 301.7 kB / 0.7697 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.815, allocations: 4.078 kB / 0.7697 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.815, allocations: 3.938 kB / 0.7697 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.815, allocations: 8 kB / 0.7697 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.8162, allocations: 0.823 MB / 0.7705 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.8163, allocations: 3.938 kB / 0.7705 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.8165, allocations: 43.98 kB / 0.7705 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.8165, allocations: 0 / 0.7705 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.8165, allocations: 8 kB / 0.7705 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.8165, allocations: 7.984 kB / 0.7705 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.8165, allocations: 4.125 kB / 0.7705 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008067/0.8174, allocations: 0.5155 MB / 0.7711 GB, free: 368 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.8175, allocations: 148.5 kB / 0.7712 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.345e-05/0.8176, allocations: 1.25 kB / 0.7712 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.8179, allocations: 35.91 kB / 0.7712 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.989e-05/0.818, allocations: 23.92 kB / 0.7713 GB, free: 140 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.818, allocations: 7.938 kB / 0.7713 GB, free: 132 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003381/0.8183, allocations: 303.2 kB / 0.7715 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8183, allocations: 0 / 0.7715 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004475/0.8188, allocations: 123.8 kB / 0.7717 GB, free: 15.71 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.0004361/0.8192, allocations: 183.4 kB / 0.7718 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004895/0.8197, allocations: 211.8 kB / 0.772 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.8197, allocations: 4 kB / 0.772 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002453/0.82, allocations: 124.2 kB / 0.7722 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.8212, allocations: 204.8 kB / 0.7724 GB, free: 15 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.8229, allocations: 1.12 MB / 0.7735 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.8233, allocations: 0.8275 MB / 0.7743 GB, free: 13 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000289/0.8236, allocations: 79.34 kB / 0.7743 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.521e-05/0.8237, allocations: 35.44 kB / 0.7744 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.8237, allocations: 0 / 0.7744 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of Templates: time 0.01432/0.838, allocations: 7.646 MB / 0.7818 GB, free: 5.402 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)