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.0008093/0.0008094, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001009/0.001009, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.076/1.076, allocations: 135.3 MB / 426.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004917, allocations: 9.25 kB / 0.507 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.179, allocations: 82.31 MB / 0.5874 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.4594/0.6385, allocations: 106.3 MB / 0.6912 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.04339/0.6819, allocations: 24.86 MB / 0.7155 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006181/0.6882, allocations: 103.1 kB / 0.7156 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004092/0.6923, allocations: 0.7885 MB / 0.7163 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01267/0.705, allocations: 2.732 MB / 0.719 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008426/0.7134, allocations: 1.666 MB / 0.7206 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01634/0.7298, allocations: 7.009 MB / 0.7275 GB, free: 8.367 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004625/0.7345, allocations: 1.424 MB / 0.7289 GB, free: 7.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009093/0.7436, allocations: 2.125 MB / 0.731 GB, free: 6.309 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005605/0.7493, allocations: 1.612 MB / 0.7325 GB, free: 5.367 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0009069/0.7502, allocations: 92.59 kB / 0.7326 GB, free: 5.367 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008018/0.7582, allocations: 1.56 MB / 0.7341 GB, free: 4.559 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001321/0.7596, allocations: 395.2 kB / 0.7345 GB, free: 4.254 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002184/0.7618, allocations: 491.5 kB / 0.735 GB, free: 3.996 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00668/0.7685, allocations: 2.863 MB / 0.7378 GB, free: 2.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.7686, allocations: 0 / 0.7378 GB, free: 2.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.687e-06/0.7686, allocations: 0 / 0.7378 GB, free: 2.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.04e-05/0.7687, allocations: 0 / 0.7378 GB, free: 2.09 MB / 0.545 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.005709/0.7744, allocations: 2.452 MB / 0.7402 GB, free: 168 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.7744, allocations: 16.02 kB / 0.7402 GB, free: 152 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008948/0.7753, allocations: 257 kB / 0.7404 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004672/0.78, allocations: 2.023 MB / 0.7424 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.897e-05/0.7801, allocations: 102.7 kB / 0.7425 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.7803, allocations: 139.9 kB / 0.7426 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002827/0.7832, allocations: 1.45 MB / 0.7441 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.946e-05/0.7832, allocations: 11.88 kB / 0.7441 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.7833, allocations: 59.95 kB / 0.7441 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.464e-05/0.7834, allocations: 39.98 kB / 0.7442 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/0.7853, allocations: 1.025 MB / 0.7452 GB, free: 10.91 MB / 0.5606 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.01079/0.7961, allocations: 8.116 MB / 0.7531 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.7976, allocations: 0.8438 MB / 0.7539 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007753/0.7984, allocations: 381 kB / 0.7543 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002272/0.8007, allocations: 2.803 MB / 0.757 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.8007, allocations: 47.16 kB / 0.7571 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.675e-06/0.8007, allocations: 0 / 0.7571 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.002576/0.8033, allocations: 1.14 MB / 0.7582 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.8034, allocations: 60.06 kB / 0.7582 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00232/0.8057, allocations: 1.59 MB / 0.7598 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-05/0.8058, allocations: 41.7 kB / 0.7598 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007662/0.8066, allocations: 0.9277 MB / 0.7607 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002928/0.8069, allocations: 307.5 kB / 0.761 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-05/0.807, allocations: 20 kB / 0.761 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.8071, allocations: 357.9 kB / 0.7614 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005601/0.8077, allocations: 322.4 kB / 0.7617 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008963/0.8086, allocations: 0.7072 MB / 0.7624 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007694/0.8094, allocations: 438.8 kB / 0.7628 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.8094, allocations: 4 kB / 0.7628 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002433/0.8118, allocations: 1.245 MB / 0.764 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003419/0.8122, allocations: 437.4 kB / 0.7644 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.863e-05/0.8122, allocations: 23.92 kB / 0.7645 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.32e-05/0.8123, allocations: 20 kB / 0.7645 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008501/0.8131, allocations: 267.5 kB / 0.7647 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.65e-05/0.8132, allocations: 19.94 kB / 0.7648 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.8145, allocations: 190.6 kB / 0.7649 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.8147, allocations: 66.31 kB / 0.765 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.8147, allocations: 7.953 kB / 0.765 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001791/0.8165, allocations: 1.047 MB / 0.766 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/0.8165, allocations: 16 kB / 0.766 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.64e-05/0.8166, allocations: 23.94 kB / 0.7661 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007744/0.8173, allocations: 263.6 kB / 0.7663 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/0.8174, allocations: 23.92 kB / 0.7663 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.8187, allocations: 159 kB / 0.7665 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.8188, allocations: 71.97 kB / 0.7666 GB, free: 3.223 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008817/0.8197, allocations: 476.6 kB / 0.767 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002915/0.82, allocations: 197.6 kB / 0.7672 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003035/0.823, allocations: 1.744 MB / 0.7689 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.291e-05/0.8231, allocations: 15.98 kB / 0.7689 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.8231, allocations: 0 / 0.7689 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001679/0.8248, allocations: 1.154 MB / 0.77 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006841/0.8316, allocations: 3.475 MB / 0.7734 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.225e-05/0.8317, allocations: 16.11 kB / 0.7735 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007289/0.8324, allocations: 207.7 kB / 0.7737 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.166e-05/0.8325, allocations: 12 kB / 0.7737 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.719e-05/0.8326, allocations: 39.98 kB / 0.7737 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.856e-05/0.8326, allocations: 15.94 kB / 0.7737 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/0.8326, allocations: 15.89 kB / 0.7737 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004089/0.8367, allocations: 2.226 MB / 0.7759 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001617/0.8383, allocations: 473.9 kB / 0.7764 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006687/0.839, allocations: 36 kB / 0.7764 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/0.8409, allocations: 95.83 kB / 0.7765 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002857/0.8412, allocations: 128.6 kB / 0.7766 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002131/0.8415, allocations: 59.97 kB / 0.7767 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002997/0.8445, allocations: 1.06 MB / 0.7777 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.41e-07/0.8445, allocations: 0 / 0.7777 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006155/0.8507, allocations: 1.123 MB / 0.7788 GB, free: 6.348 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002441/0.8531, allocations: 0.7458 MB / 0.7795 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004522/0.8577, allocations: 1.803 MB / 0.7813 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/0.8577, allocations: 1.875 kB / 0.7813 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001859/0.8596, allocations: 0.8218 MB / 0.7821 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007099/0.8667, allocations: 0.9229 MB / 0.783 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.8773, allocations: 4.395 MB / 0.7873 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001652/0.879, allocations: 1.432 MB / 0.7887 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003468/0.8825, allocations: 0.5389 MB / 0.7892 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000719/0.8832, allocations: 191.3 kB / 0.7894 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of SimCode: time 1.162e-06/0.8832, allocations: 0 / 0.7894 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of Templates: time 0.07162/0.9549, allocations: 39.85 MB / 0.8283 GB, free: 3.91 MB / 0.6387 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)