Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.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.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 97.95 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.01045/0.01045, allocations: 172.6 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.53/1.53, allocations: 223.3 MB / 240.3 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.031/1.031, allocations: 135.3 MB / 426.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003501, allocations: 12.28 kB / 0.5076 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2022, allocations: 82.31 MB / 0.588 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.5421/0.7443, allocations: 112.5 MB / 0.6979 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.04021/0.7846, allocations: 26.34 MB / 0.7236 GB, free: 8.266 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005248/0.7899, allocations: 100 kB / 0.7237 GB, free: 8.227 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00379/0.7937, allocations: 0.9215 MB / 0.7246 GB, free: 7.676 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0117/0.8054, allocations: 3.161 MB / 0.7277 GB, free: 5.812 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007993/0.8134, allocations: 2.092 MB / 0.7297 GB, free: 4.605 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01304/0.8265, allocations: 8.148 MB / 0.7377 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00389/0.8304, allocations: 1.55 MB / 0.7392 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007039/0.8375, allocations: 2.262 MB / 0.7414 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004191/0.8417, allocations: 1.709 MB / 0.7431 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0009134/0.8426, allocations: 92.12 kB / 0.7432 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007248/0.8499, allocations: 2.138 MB / 0.7453 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008691/0.8508, allocations: 409.9 kB / 0.7456 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002669/0.8535, allocations: 1.164 MB / 0.7468 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008887/0.8624, allocations: 3.925 MB / 0.7506 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.8624, allocations: 0 / 0.7506 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.514e-06/0.8624, allocations: 0 / 0.7506 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001355/0.8626, allocations: 0 / 0.7506 GB, free: 5.656 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.006451/0.869, allocations: 2.422 MB / 0.753 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.8691, allocations: 8.031 kB / 0.753 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009085/0.87, allocations: 264.9 kB / 0.7532 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005234/0.8753, allocations: 2.095 MB / 0.7553 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.8754, allocations: 106.6 kB / 0.7554 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004059/0.8758, allocations: 136 kB / 0.7555 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003273/0.8791, allocations: 1.46 MB / 0.7569 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.735e-05/0.8792, allocations: 7.938 kB / 0.7569 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/0.8794, allocations: 56 kB / 0.757 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-05/0.8794, allocations: 36 kB / 0.757 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002195/0.8816, allocations: 1.037 MB / 0.758 GB, free: 13.84 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.01119/0.8928, allocations: 8.139 MB / 0.766 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.8945, allocations: 0.8432 MB / 0.7668 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006457/0.8952, allocations: 385 kB / 0.7672 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002363/0.8976, allocations: 2.799 MB / 0.7699 GB, free: 344 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.8976, allocations: 47.22 kB / 0.77 GB, free: 288 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 3.877e-06/0.8976, allocations: 0 / 0.77 GB, free: 288 kB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.002625/0.9003, allocations: 1.14 MB / 0.7711 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.9003, allocations: 68 kB / 0.7711 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003972/0.9043, allocations: 1.61 MB / 0.7727 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/0.9045, allocations: 41.7 kB / 0.7728 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.9055, allocations: 0.9199 MB / 0.7737 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004597/0.906, allocations: 311.6 kB / 0.774 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.9062, allocations: 89.67 kB / 0.774 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.9064, allocations: 353.9 kB / 0.7744 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007174/0.9072, allocations: 326.4 kB / 0.7747 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009696/0.9081, allocations: 0.715 MB / 0.7754 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.9099, allocations: 1.094 MB / 0.7765 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.751e-05/0.9099, allocations: 4 kB / 0.7765 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003022/0.913, allocations: 1.26 MB / 0.7777 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004253/0.9134, allocations: 445.3 kB / 0.7781 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-05/0.9135, allocations: 19.98 kB / 0.7781 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.608e-05/0.9135, allocations: 16 kB / 0.7781 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009014/0.9144, allocations: 267.6 kB / 0.7784 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.284e-05/0.9145, allocations: 35.86 kB / 0.7784 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/0.9163, allocations: 178.6 kB / 0.7786 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/0.9165, allocations: 67.97 kB / 0.7787 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.9165, allocations: 4 kB / 0.7787 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002054/0.9186, allocations: 1.062 MB / 0.7797 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.855e-05/0.9186, allocations: 16 kB / 0.7797 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.9187, allocations: 20 kB / 0.7797 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008348/0.9195, allocations: 259.5 kB / 0.78 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.193e-05/0.9196, allocations: 27.92 kB / 0.78 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.9212, allocations: 163.1 kB / 0.7802 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.9214, allocations: 67.91 kB / 0.7802 GB, free: 5.16 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.000949/0.9224, allocations: 480.7 kB / 0.7807 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005201/0.9229, allocations: 189.7 kB / 0.7809 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003558/0.9264, allocations: 1.745 MB / 0.7826 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.113e-05/0.9265, allocations: 19.98 kB / 0.7826 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.9265, allocations: 0 / 0.7826 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00182/0.9283, allocations: 1.158 MB / 0.7837 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006271/0.9346, allocations: 3.491 MB / 0.7871 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-05/0.9347, allocations: 12.03 kB / 0.7872 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007516/0.9354, allocations: 203.7 kB / 0.7873 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-05/0.9355, allocations: 12 kB / 0.7874 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.259e-05/0.9355, allocations: 43.98 kB / 0.7874 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.349e-05/0.9356, allocations: 12 kB / 0.7874 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/0.9356, allocations: 11.92 kB / 0.7874 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003499/0.9391, allocations: 2.246 MB / 0.7896 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/0.9403, allocations: 477.9 kB / 0.7901 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004131/0.9407, allocations: 28 kB / 0.7901 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.942, allocations: 105.6 kB / 0.7902 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/0.9422, allocations: 116.7 kB / 0.7903 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.9423, allocations: 59.97 kB / 0.7904 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001832/0.9441, allocations: 1.075 MB / 0.7914 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9442, allocations: 4 kB / 0.7914 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003563/0.9477, allocations: 1.131 MB / 0.7925 GB, free: 8.242 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * 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.001762/0.9495, allocations: 0.7826 MB / 0.7933 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003154/0.9527, allocations: 1.805 MB / 0.7951 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.9527, allocations: 4 kB / 0.7951 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.954, allocations: 0.8301 MB / 0.7959 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006805/0.9608, allocations: 0.9342 MB / 0.7968 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007068/0.9679, allocations: 4.469 MB / 0.8011 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/0.9691, allocations: 1.432 MB / 0.8025 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002351/0.9715, allocations: 0.5387 MB / 0.8031 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005066/0.972, allocations: 195.3 kB / 0.8033 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of SimCode: time 7.51e-07/0.972, allocations: 3.938 kB / 0.8033 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of Templates: time 0.07245/1.045, allocations: 41.44 MB / 0.8437 GB, free: 4.082 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)