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.001286/0.001286, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002082/0.002083, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.447/1.447, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.063/1.063, allocations: 135.1 MB / 425.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 63.31 kB / 0.5047 GB, free: 5.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2099, allocations: 80.93 MB / 0.5837 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.4688/0.6787, allocations: 114.4 MB / 0.6954 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.04132/0.7201, allocations: 26.63 MB / 0.7214 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006933/0.7271, allocations: 104.1 kB / 0.7215 GB, free: 9.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004901/0.7321, allocations: 0.9323 MB / 0.7224 GB, free: 9.195 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01361/0.7457, allocations: 3.16 MB / 0.7255 GB, free: 7.332 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007932/0.7537, allocations: 2.082 MB / 0.7276 GB, free: 6.105 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01337/0.767, allocations: 8.159 MB / 0.7355 GB, free: 1.609 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003627/0.7707, allocations: 1.59 MB / 0.7371 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006032/0.7768, allocations: 2.302 MB / 0.7393 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003577/0.7804, allocations: 1.767 MB / 0.7411 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005041/0.7809, allocations: 112 kB / 0.7412 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005995/0.7869, allocations: 2.14 MB / 0.7433 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006909/0.7876, allocations: 446 kB / 0.7437 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003021/0.7907, allocations: 1.181 MB / 0.7448 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008262/0.7989, allocations: 3.989 MB / 0.7487 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.799, allocations: 15.88 kB / 0.7487 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.124e-06/0.799, allocations: 0 / 0.7487 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.81e-05/0.7991, allocations: 0 / 0.7487 GB, free: 5.676 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.006773/0.8059, allocations: 2.827 MB / 0.7515 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.806, allocations: 12.03 kB / 0.7515 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008903/0.8069, allocations: 257.1 kB / 0.7518 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004197/0.8111, allocations: 2.095 MB / 0.7538 GB, free: 384 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.756e-05/0.8112, allocations: 106.6 kB / 0.7539 GB, free: 276 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/0.8114, allocations: 143.9 kB / 0.754 GB, free: 132 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/0.8139, allocations: 1.454 MB / 0.7555 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.157e-05/0.814, allocations: 7.938 kB / 0.7555 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.8141, allocations: 56 kB / 0.7555 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.411e-05/0.8142, allocations: 36 kB / 0.7556 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.816, allocations: 1.021 MB / 0.7566 GB, free: 13.47 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.00937/0.8254, allocations: 8.12 MB / 0.7645 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.8271, allocations: 0.8394 MB / 0.7653 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006194/0.8277, allocations: 373.8 kB / 0.7657 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002386/0.8301, allocations: 2.811 MB / 0.7684 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.8301, allocations: 39.22 kB / 0.7684 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 3.226e-06/0.8301, allocations: 0 / 0.7684 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.002752/0.8329, allocations: 1.132 MB / 0.7695 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.833, allocations: 64 kB / 0.7696 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002413/0.8354, allocations: 1.602 MB / 0.7712 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.039e-05/0.8355, allocations: 41.7 kB / 0.7712 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007704/0.8363, allocations: 0.9315 MB / 0.7721 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000286/0.8366, allocations: 303.6 kB / 0.7724 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003138/0.8369, allocations: 234.6 kB / 0.7726 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.837, allocations: 357.9 kB / 0.773 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005769/0.8376, allocations: 325.9 kB / 0.7733 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000878/0.8385, allocations: 0.7033 MB / 0.774 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.8401, allocations: 1.085 MB / 0.775 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.8401, allocations: 4 kB / 0.775 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002366/0.8425, allocations: 1.253 MB / 0.7763 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.8425, allocations: 8 kB / 0.7763 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-05/0.8426, allocations: 16 kB / 0.7763 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/0.8426, allocations: 16.77 kB / 0.7763 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008148/0.8434, allocations: 267.5 kB / 0.7766 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.02e-05/0.8435, allocations: 31.62 kB / 0.7766 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.8449, allocations: 182.8 kB / 0.7768 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.845, allocations: 63.98 kB / 0.7768 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001146/0.8462, allocations: 0.6275 MB / 0.7774 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008639/0.847, allocations: 0.7033 MB / 0.7781 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001543/0.8486, allocations: 1.081 MB / 0.7792 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.913e-06/0.8486, allocations: 4 kB / 0.7792 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.00228/0.8509, allocations: 1.245 MB / 0.7804 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.8509, allocations: 16.19 kB / 0.7804 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.953e-05/0.851, allocations: 12 kB / 0.7804 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.851, allocations: 20 kB / 0.7804 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008125/0.8518, allocations: 255.6 kB / 0.7807 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-05/0.8518, allocations: 27.86 kB / 0.7807 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.8531, allocations: 151.1 kB / 0.7809 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.8532, allocations: 63.97 kB / 0.7809 GB, free: 2.395 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.0003234/0.8536, allocations: 251.9 kB / 0.7812 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003276/0.8539, allocations: 189.7 kB / 0.7813 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00313/0.857, allocations: 1.742 MB / 0.783 GB, free: 224 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.941e-05/0.8571, allocations: 23.97 kB / 0.7831 GB, free: 200 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.8571, allocations: 3.938 kB / 0.7831 GB, free: 196 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001711/0.8588, allocations: 1.142 MB / 0.7842 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005584/0.8644, allocations: 3.478 MB / 0.7876 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.656e-05/0.8645, allocations: 12 kB / 0.7876 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007094/0.8652, allocations: 204.5 kB / 0.7878 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.359e-05/0.8652, allocations: 12 kB / 0.7878 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.327e-05/0.8653, allocations: 43.92 kB / 0.7878 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.595e-05/0.8653, allocations: 15.98 kB / 0.7879 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-05/0.8653, allocations: 11.94 kB / 0.7879 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003465/0.8688, allocations: 2.226 MB / 0.79 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008415/0.8696, allocations: 438.1 kB / 0.7905 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000252/0.8699, allocations: 32 kB / 0.7905 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.871, allocations: 95.77 kB / 0.7906 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/0.8712, allocations: 124.7 kB / 0.7907 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.8713, allocations: 55.97 kB / 0.7908 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001705/0.873, allocations: 1.079 MB / 0.7918 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.873, allocations: 0 / 0.7918 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003329/0.8764, allocations: 1.127 MB / 0.7929 GB, free: 5.777 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.00172/0.8781, allocations: 0.7881 MB / 0.7937 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003263/0.8814, allocations: 1.8 MB / 0.7954 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.8814, allocations: 4 kB / 0.7954 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.8827, allocations: 0.8236 MB / 0.7962 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004544/0.8872, allocations: 0.9087 MB / 0.7971 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005892/0.8931, allocations: 4.379 MB / 0.8014 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009673/0.8941, allocations: 1.436 MB / 0.8028 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002213/0.8964, allocations: 0.5485 MB / 0.8033 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003935/0.8968, allocations: 179.3 kB / 0.8035 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of SimCode: time 9.12e-07/0.8968, allocations: 4 kB / 0.8035 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of Templates: time 0.06926/0.966, allocations: 41.08 MB / 0.8436 GB, free: 2.105 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)