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.001403/0.001403, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.00154/0.00154, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8364/0.8364, allocations: 132.2 MB / 423.3 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 63.91 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4154, allocations: 80.19 MB / 0.5815 GB, free: 27.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1071/0.5226, allocations: 115.2 MB / 0.6939 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03878/0.5614, allocations: 26.51 MB / 0.7198 GB, free: 168 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004543/0.566, allocations: 115.4 kB / 0.7199 GB, free: 52 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003582/0.5696, allocations: 1.157 MB / 0.7211 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01097/0.5807, allocations: 3.416 MB / 0.7244 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.009316/0.59, allocations: 2.347 MB / 0.7267 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01091/0.6009, allocations: 6.186 MB / 0.7327 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00331/0.6043, allocations: 1.925 MB / 0.7346 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007075/0.6114, allocations: 2.651 MB / 0.7372 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003066/0.6145, allocations: 1.774 MB / 0.7389 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003906/0.6149, allocations: 220 kB / 0.7391 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005245/0.6201, allocations: 2.34 MB / 0.7414 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005545/0.6207, allocations: 0.5448 MB / 0.742 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001586/0.6223, allocations: 1.283 MB / 0.7432 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005895/0.6282, allocations: 4.101 MB / 0.7472 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.6282, allocations: 4 kB / 0.7472 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6282, allocations: 0 / 0.7472 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.971e-05/0.6283, allocations: 0 / 0.7472 GB, free: 4.012 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.00517/0.6334, allocations: 2.838 MB / 0.75 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.6335, allocations: 8.031 kB / 0.75 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006575/0.6342, allocations: 257 kB / 0.7502 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3055/0.9396, allocations: 2.133 MB / 0.7523 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.494e-05/0.9398, allocations: 102.5 kB / 0.7524 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002698/0.9401, allocations: 137.5 kB / 0.7526 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002733/0.9428, allocations: 1.449 MB / 0.754 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.066e-05/0.9429, allocations: 7.062 kB / 0.754 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.943, allocations: 57.53 kB / 0.754 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.295e-05/0.943, allocations: 39.78 kB / 0.7541 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/0.9452, allocations: 1.024 MB / 0.7551 GB, free: 159.7 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.009481/0.9547, allocations: 8.13 MB / 0.763 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.9564, allocations: 0.8345 MB / 0.7638 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006905/0.9571, allocations: 378.5 kB / 0.7642 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001687/0.9588, allocations: 2.804 MB / 0.7669 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.9589, allocations: 46.47 kB / 0.767 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.815e-06/0.9589, allocations: 1.781 kB / 0.767 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.002475/0.9613, allocations: 1.126 MB / 0.7681 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.9614, allocations: 61.31 kB / 0.7681 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002268/0.9637, allocations: 1.622 MB / 0.7697 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.494e-05/0.9638, allocations: 42.23 kB / 0.7698 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005363/0.9643, allocations: 0.9309 MB / 0.7707 GB, free: 146.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.9646, allocations: 305.1 kB / 0.771 GB, free: 146.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000294/0.9649, allocations: 233.3 kB / 0.7712 GB, free: 146 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.858e-05/0.9649, allocations: 352.6 kB / 0.7715 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005407/0.9655, allocations: 325.9 kB / 0.7718 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007744/0.9663, allocations: 0.7102 MB / 0.7725 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.9676, allocations: 1.081 MB / 0.7736 GB, free: 144 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.9677, allocations: 3.75 kB / 0.7736 GB, free: 144 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002179/0.9698, allocations: 1.248 MB / 0.7748 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.9699, allocations: 12.67 kB / 0.7748 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.127e-05/0.9699, allocations: 19.58 kB / 0.7748 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.16e-05/0.97, allocations: 17.5 kB / 0.7748 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007585/0.9707, allocations: 262.8 kB / 0.7751 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/0.9707, allocations: 23.69 kB / 0.7751 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.9719, allocations: 134.9 kB / 0.7752 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.855e-05/0.972, allocations: 63.45 kB / 0.7753 GB, free: 143.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009772/0.973, allocations: 0.6296 MB / 0.7759 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006553/0.9736, allocations: 0.7066 MB / 0.7766 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001157/0.9748, allocations: 1.08 MB / 0.7777 GB, free: 141.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.829e-06/0.9748, allocations: 0 / 0.7777 GB, free: 141.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.001897/0.9767, allocations: 1.25 MB / 0.7789 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.9767, allocations: 11.84 kB / 0.7789 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/0.9768, allocations: 15.84 kB / 0.7789 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.9768, allocations: 20.69 kB / 0.7789 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007361/0.9775, allocations: 260.9 kB / 0.7792 GB, free: 140.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/0.9775, allocations: 23.58 kB / 0.7792 GB, free: 140.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.9787, allocations: 102.8 kB / 0.7793 GB, free: 140.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.852e-05/0.9788, allocations: 63.16 kB / 0.7794 GB, free: 140.6 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003015/0.9791, allocations: 259.5 kB / 0.7796 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003139/0.9794, allocations: 192.6 kB / 0.7798 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002709/0.9821, allocations: 1.736 MB / 0.7815 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.278e-05/0.9822, allocations: 19.61 kB / 0.7815 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.9822, allocations: 3.984 kB / 0.7815 GB, free: 139.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001431/0.9836, allocations: 1.147 MB / 0.7826 GB, free: 138.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004774/0.9884, allocations: 3.491 MB / 0.786 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.296e-05/0.9884, allocations: 12 kB / 0.786 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006427/0.9891, allocations: 201.8 kB / 0.7862 GB, free: 134.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.9891, allocations: 12 kB / 0.7863 GB, free: 134.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.867e-05/0.9892, allocations: 39.98 kB / 0.7863 GB, free: 134.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.17e-05/0.9892, allocations: 15.92 kB / 0.7863 GB, free: 134.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.9892, allocations: 8 kB / 0.7863 GB, free: 134.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/0.9919, allocations: 2.233 MB / 0.7885 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006796/0.9925, allocations: 438.2 kB / 0.7889 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/0.9928, allocations: 28 kB / 0.7889 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008094/0.9936, allocations: 47.88 kB / 0.789 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.9938, allocations: 125.2 kB / 0.7891 GB, free: 131.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-05/0.9939, allocations: 67.86 kB / 0.7892 GB, free: 131.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001255/0.9951, allocations: 1.083 MB / 0.7902 GB, free: 130.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9951, allocations: 0 / 0.7902 GB, free: 130.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002611/0.9978, allocations: 1.135 MB / 0.7913 GB, free: 129.3 MB / 0.5762 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.001258/0.999, allocations: 0.7859 MB / 0.7921 GB, free: 128.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002369/1.001, allocations: 1.812 MB / 0.7939 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.001, allocations: 0 / 0.7939 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009449/1.002, allocations: 0.8235 MB / 0.7947 GB, free: 126 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003561/1.006, allocations: 0.9704 MB / 0.7956 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/1.01, allocations: 3.572 MB / 0.7991 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006368/1.011, allocations: 1.436 MB / 0.8005 GB, free: 120 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001584/1.012, allocations: 0.5436 MB / 0.801 GB, free: 119.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/1.013, allocations: 187.3 kB / 0.8012 GB, free: 119.3 MB / 0.5762 GB Notification: Performance of SimCode: time 8.52e-07/1.013, allocations: 0 / 0.8012 GB, free: 119.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.05715/1.07, allocations: 43.01 MB / 0.8432 GB, free: 76.87 MB / 0.5762 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)