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.001487/0.001487, allocations: 106.2 kB / 16.35 MB, free: 5.824 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.00178/0.00178, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7705/0.7705, allocations: 132.2 MB / 423.3 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 59.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3699, allocations: 80.2 MB / 0.5815 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.09738/0.4673, allocations: 115.1 MB / 0.6939 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03407/0.5014, allocations: 26.52 MB / 0.7198 GB, free: 348 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00491/0.5064, allocations: 115.4 kB / 0.7199 GB, free: 232 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003619/0.5101, allocations: 1.153 MB / 0.7211 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01111/0.5212, allocations: 3.419 MB / 0.7244 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007282/0.5285, allocations: 2.343 MB / 0.7267 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008946/0.5375, allocations: 6.181 MB / 0.7327 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003281/0.5408, allocations: 1.929 MB / 0.7346 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005925/0.5467, allocations: 2.655 MB / 0.7372 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002929/0.5497, allocations: 1.77 MB / 0.7389 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003719/0.5501, allocations: 220 kB / 0.7391 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004858/0.5549, allocations: 2.347 MB / 0.7414 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005441/0.5555, allocations: 0.5409 MB / 0.742 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.5571, allocations: 1.283 MB / 0.7432 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005993/0.5631, allocations: 4.102 MB / 0.7472 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5631, allocations: 0 / 0.7472 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5631, allocations: 0 / 0.7472 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.792e-05/0.5632, allocations: 0 / 0.7472 GB, free: 4.188 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.005487/0.5686, allocations: 2.838 MB / 0.75 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.5687, allocations: 8.031 kB / 0.75 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006498/0.5694, allocations: 257 kB / 0.7502 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.291/0.8603, allocations: 2.133 MB / 0.7523 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.8605, allocations: 104 kB / 0.7524 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000274/0.8608, allocations: 139.7 kB / 0.7526 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/0.8636, allocations: 1.452 MB / 0.754 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/0.8636, allocations: 5.281 kB / 0.754 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.8637, allocations: 54.06 kB / 0.754 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.733e-05/0.8638, allocations: 39.89 kB / 0.7541 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.8657, allocations: 1.028 MB / 0.7551 GB, free: 160 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.00939/0.8751, allocations: 8.127 MB / 0.763 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.877, allocations: 0.8348 MB / 0.7638 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007355/0.8777, allocations: 377.3 kB / 0.7642 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001627/0.8794, allocations: 2.807 MB / 0.7669 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.8794, allocations: 46.03 kB / 0.767 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.776e-06/0.8794, allocations: 1.312 kB / 0.767 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.002547/0.882, allocations: 1.128 MB / 0.7681 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.882, allocations: 59.97 kB / 0.7681 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/0.8843, allocations: 1.618 MB / 0.7697 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.998e-05/0.8844, allocations: 42.7 kB / 0.7698 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000592/0.885, allocations: 0.9321 MB / 0.7707 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/0.8853, allocations: 306.1 kB / 0.771 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003173/0.8856, allocations: 229.5 kB / 0.7712 GB, free: 146.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.533e-05/0.8857, allocations: 358.6 kB / 0.7715 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005237/0.8862, allocations: 330.7 kB / 0.7718 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007417/0.887, allocations: 0.7029 MB / 0.7725 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.8883, allocations: 1.089 MB / 0.7736 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.8884, allocations: 3.969 kB / 0.7736 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002068/0.8904, allocations: 1.242 MB / 0.7748 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.8905, allocations: 13.03 kB / 0.7748 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.12e-05/0.8905, allocations: 15.81 kB / 0.7748 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/0.8905, allocations: 20.56 kB / 0.7748 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007309/0.8913, allocations: 262.6 kB / 0.7751 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/0.8913, allocations: 23.72 kB / 0.7751 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.8924, allocations: 127.8 kB / 0.7752 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.606e-05/0.8925, allocations: 68.42 kB / 0.7753 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008925/0.8934, allocations: 0.6259 MB / 0.7759 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006566/0.894, allocations: 0.7091 MB / 0.7766 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001184/0.8952, allocations: 1.083 MB / 0.7777 GB, free: 141.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.981e-06/0.8952, allocations: 3.938 kB / 0.7777 GB, free: 141.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.001919/0.8972, allocations: 1.242 MB / 0.7789 GB, free: 141.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.8972, allocations: 11.84 kB / 0.7789 GB, free: 141.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.659e-05/0.8972, allocations: 19.83 kB / 0.7789 GB, free: 141.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.8972, allocations: 19.66 kB / 0.7789 GB, free: 141.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007201/0.898, allocations: 265 kB / 0.7792 GB, free: 141.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/0.898, allocations: 27.7 kB / 0.7792 GB, free: 141.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.899, allocations: 94.77 kB / 0.7793 GB, free: 141 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-05/0.8991, allocations: 63.45 kB / 0.7794 GB, free: 141 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.0002786/0.8994, allocations: 263.5 kB / 0.7796 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/0.8997, allocations: 192.4 kB / 0.7798 GB, free: 140.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/0.9023, allocations: 1.733 MB / 0.7815 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.411e-05/0.9024, allocations: 21.55 kB / 0.7815 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.9024, allocations: 0 / 0.7815 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001384/0.9038, allocations: 1.149 MB / 0.7826 GB, free: 138.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004169/0.908, allocations: 3.486 MB / 0.786 GB, free: 135 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-05/0.908, allocations: 8 kB / 0.786 GB, free: 135 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006397/0.9086, allocations: 207.2 kB / 0.7862 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.9087, allocations: 12 kB / 0.7863 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-05/0.9087, allocations: 39.98 kB / 0.7863 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/0.9087, allocations: 15.92 kB / 0.7863 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.9087, allocations: 8 kB / 0.7863 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002525/0.9113, allocations: 2.231 MB / 0.7885 GB, free: 132.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000577/0.9119, allocations: 438.2 kB / 0.7889 GB, free: 132 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/0.9121, allocations: 32 kB / 0.7889 GB, free: 132 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007878/0.9129, allocations: 49.81 kB / 0.789 GB, free: 131.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.913, allocations: 124.6 kB / 0.7891 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-05/0.9131, allocations: 63.86 kB / 0.7892 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001229/0.9144, allocations: 1.083 MB / 0.7902 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9144, allocations: 0 / 0.7902 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002433/0.9168, allocations: 1.133 MB / 0.7913 GB, free: 129.6 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.001173/0.918, allocations: 0.792 MB / 0.7921 GB, free: 128.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002318/0.9203, allocations: 1.814 MB / 0.7939 GB, free: 127.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.9203, allocations: 0 / 0.7939 GB, free: 127.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009326/0.9213, allocations: 0.826 MB / 0.7947 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003228/0.9245, allocations: 0.9651 MB / 0.7956 GB, free: 125.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003863/0.9284, allocations: 3.569 MB / 0.7991 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000608/0.929, allocations: 1.436 MB / 0.8005 GB, free: 120.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001328/0.9303, allocations: 0.5358 MB / 0.801 GB, free: 119.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/0.9307, allocations: 191.3 kB / 0.8012 GB, free: 119.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.222e-06/0.9307, allocations: 0 / 0.8012 GB, free: 119.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.05443/0.9851, allocations: 43.01 MB / 0.8432 GB, free: 77.08 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)