Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001269/0.001269, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01141/0.01141, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.467/1.467, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7822/0.7822, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003879, allocations: 15.92 kB / 0.504 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4529/0.4533, allocations: 81.59 MB / 0.5837 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1126/0.566, allocations: 112.6 MB / 0.6936 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03937/0.6054, allocations: 26.35 MB / 0.7193 GB, free: 5.102 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005381/0.6108, allocations: 99.38 kB / 0.7194 GB, free: 5.004 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003368/0.6142, allocations: 0.9245 MB / 0.7203 GB, free: 4.074 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01064/0.6249, allocations: 3.152 MB / 0.7234 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006872/0.6318, allocations: 2.095 MB / 0.7255 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01071/0.6425, allocations: 8.144 MB / 0.7334 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003388/0.6459, allocations: 1.561 MB / 0.7349 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005518/0.6515, allocations: 2.256 MB / 0.7371 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003217/0.6547, allocations: 1.715 MB / 0.7388 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00069/0.6554, allocations: 92 kB / 0.7389 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006361/0.6618, allocations: 2.12 MB / 0.741 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.6629, allocations: 413.8 kB / 0.7414 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002516/0.6654, allocations: 1.156 MB / 0.7425 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00747/0.6729, allocations: 3.929 MB / 0.7463 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.6729, allocations: 4 kB / 0.7463 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.673, allocations: 0 / 0.7463 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001082/0.6731, allocations: 0 / 0.7463 GB, free: 9.344 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.005781/0.6789, allocations: 2.421 MB / 0.7487 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.6789, allocations: 12.02 kB / 0.7487 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.6799, allocations: 261 kB / 0.749 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00544/0.6854, allocations: 2.099 MB / 0.751 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.6856, allocations: 102.7 kB / 0.7511 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004062/0.686, allocations: 143.9 kB / 0.7512 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003582/0.6896, allocations: 1.454 MB / 0.7527 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-05/0.6897, allocations: 11.84 kB / 0.7527 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001577/0.6898, allocations: 56 kB / 0.7527 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-05/0.6899, allocations: 39.98 kB / 0.7528 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002244/0.6921, allocations: 1.033 MB / 0.7538 GB, free: 1.523 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.0106/0.7028, allocations: 8.132 MB / 0.7617 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.7044, allocations: 0.8336 MB / 0.7625 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006579/0.705, allocations: 380.5 kB / 0.7629 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002121/0.7072, allocations: 2.814 MB / 0.7656 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.7072, allocations: 43.22 kB / 0.7657 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 3.146e-06/0.7072, allocations: 0 / 0.7657 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.00249/0.7097, allocations: 1.144 MB / 0.7668 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.7098, allocations: 64 kB / 0.7669 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002671/0.7125, allocations: 1.606 MB / 0.7684 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.808e-05/0.7126, allocations: 45.7 kB / 0.7685 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007898/0.7134, allocations: 0.9277 MB / 0.7694 GB, free: 116 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003225/0.7137, allocations: 303.8 kB / 0.7697 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.7139, allocations: 93.66 kB / 0.7698 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.714, allocations: 349.9 kB / 0.7701 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006434/0.7147, allocations: 326.4 kB / 0.7704 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009027/0.7156, allocations: 0.715 MB / 0.7711 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/0.7172, allocations: 1.097 MB / 0.7722 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.7173, allocations: 4 kB / 0.7722 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002538/0.7198, allocations: 1.257 MB / 0.7734 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.000298/0.7201, allocations: 449.3 kB / 0.7738 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-05/0.7202, allocations: 16 kB / 0.7738 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.406e-05/0.7202, allocations: 23.92 kB / 0.7739 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009086/0.7211, allocations: 259.6 kB / 0.7741 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-05/0.7212, allocations: 27.92 kB / 0.7741 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.7228, allocations: 186.6 kB / 0.7743 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.723, allocations: 63.97 kB / 0.7744 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.723, allocations: 4 kB / 0.7744 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001988/0.725, allocations: 1.062 MB / 0.7754 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.076e-05/0.7251, allocations: 16 kB / 0.7754 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.7251, allocations: 20.09 kB / 0.7755 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008209/0.7259, allocations: 259.6 kB / 0.7757 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.562e-05/0.7259, allocations: 27.86 kB / 0.7757 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.7275, allocations: 170.8 kB / 0.7759 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.7277, allocations: 63.98 kB / 0.776 GB, free: 8.848 MB / 0.6075 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.001007/0.7287, allocations: 468.7 kB / 0.7764 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004784/0.7292, allocations: 189.7 kB / 0.7766 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003324/0.7325, allocations: 1.749 MB / 0.7783 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.725e-05/0.7326, allocations: 27.91 kB / 0.7783 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/0.7326, allocations: 7.938 kB / 0.7783 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001779/0.7344, allocations: 1.15 MB / 0.7794 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006107/0.7405, allocations: 3.486 MB / 0.7829 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.921e-05/0.7406, allocations: 12 kB / 0.7829 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007474/0.7413, allocations: 212.5 kB / 0.7831 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.016e-05/0.7413, allocations: 12 kB / 0.7831 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.718e-05/0.7414, allocations: 43.98 kB / 0.7831 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.43e-05/0.7415, allocations: 11.98 kB / 0.7831 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/0.7415, allocations: 11.94 kB / 0.7831 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003392/0.7449, allocations: 2.25 MB / 0.7853 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008851/0.7458, allocations: 473.9 kB / 0.7858 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003416/0.7461, allocations: 28 kB / 0.7858 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.7473, allocations: 103.8 kB / 0.7859 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/0.7475, allocations: 120.7 kB / 0.786 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.7477, allocations: 63.95 kB / 0.7861 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00179/0.7495, allocations: 1.075 MB / 0.7871 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7495, allocations: 0 / 0.7871 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003414/0.7529, allocations: 1.119 MB / 0.7882 GB, free: 11.93 MB / 0.6231 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.00208/0.755, allocations: 0.7911 MB / 0.789 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003251/0.7583, allocations: 1.821 MB / 0.7908 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.7583, allocations: 0 / 0.7908 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00137/0.7597, allocations: 0.8255 MB / 0.7916 GB, free: 8.438 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00658/0.7663, allocations: 0.9307 MB / 0.7925 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006426/0.7727, allocations: 4.458 MB / 0.7969 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009762/0.7737, allocations: 1.436 MB / 0.7983 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002102/0.7758, allocations: 0.5434 MB / 0.7988 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004231/0.7762, allocations: 195.3 kB / 0.799 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of SimCode: time 9.42e-07/0.7763, allocations: 0 / 0.799 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of Templates: time 0.3509/1.127, allocations: 41.43 MB / 0.8394 GB, free: 201.1 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)