Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009342/0.0009343, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001011/0.001011, allocations: 168.7 kB / 15.95 MB, free: 204 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.245/1.245, allocations: 223.3 MB / 240 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6811/0.6811, allocations: 132.4 MB / 423.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002715/0.0002716, allocations: 9.875 kB / 0.5034 GB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3303, allocations: 81.58 MB / 0.5831 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.1483/0.4787, allocations: 152.4 MB / 0.7319 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003076/0.4818, allocations: 2.073 MB / 0.7339 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003434/0.4821, allocations: 11.94 kB / 0.734 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000501/0.4826, allocations: 158.9 kB / 0.7341 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.4839, allocations: 0.4937 MB / 0.7346 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009584/0.4849, allocations: 370 kB / 0.7349 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003153/0.4881, allocations: 3.255 MB / 0.7381 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002755/0.4908, allocations: 2.305 MB / 0.7404 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001942/0.4928, allocations: 1.051 MB / 0.7414 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.4941, allocations: 0.8482 MB / 0.7422 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001933/0.4943, allocations: 48 kB / 0.7423 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.4956, allocations: 0.5964 MB / 0.7429 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003796/0.496, allocations: 334.8 kB / 0.7432 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003522/0.4963, allocations: 241.1 kB / 0.7434 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.4975, allocations: 1.177 MB / 0.7446 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.4975, allocations: 0 / 0.7446 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4975, allocations: 0 / 0.7446 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.889e-05/0.4976, allocations: 0 / 0.7446 GB, free: 10.79 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002342/0.4999, allocations: 1.526 MB / 0.746 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.5, allocations: 8.031 kB / 0.7461 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007596/0.5007, allocations: 198.3 kB / 0.7462 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.5021, allocations: 0.8756 MB / 0.7471 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/0.5022, allocations: 41.31 kB / 0.7471 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.673e-05/0.5023, allocations: 71.98 kB / 0.7472 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.5036, allocations: 0.9909 MB / 0.7482 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.5036, allocations: 4 kB / 0.7482 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-05/0.5037, allocations: 20 kB / 0.7482 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.5037, allocations: 16 kB / 0.7482 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.5049, allocations: 0.8077 MB / 0.749 GB, free: 6.039 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.003811/0.5087, allocations: 4.82 MB / 0.7537 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/0.5107, allocations: 4.01 MB / 0.7576 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004476/0.5112, allocations: 360.1 kB / 0.758 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002386/0.5114, allocations: 198.5 kB / 0.7582 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004517/0.5119, allocations: 321.1 kB / 0.7585 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001933/0.5121, allocations: 31.69 kB / 0.7585 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=35): time 1.483e-06/0.5121, allocations: 4 kB / 0.7585 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=35): time 0.003954/0.516, allocations: 1.595 MB / 0.7601 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.5161, allocations: 89.09 kB / 0.7601 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.5173, allocations: 1.173 MB / 0.7613 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.5174, allocations: 45.7 kB / 0.7613 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000367/0.5177, allocations: 0.5082 MB / 0.7618 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.789e-05/0.5178, allocations: 130.2 kB / 0.7619 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.5179, allocations: 8 kB / 0.762 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.194e-05/0.518, allocations: 329.9 kB / 0.7623 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.5183, allocations: 205 kB / 0.7625 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005348/0.5188, allocations: 0.5386 MB / 0.763 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004205/0.5193, allocations: 323.3 kB / 0.7633 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.5193, allocations: 0 / 0.7633 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001872/0.5212, allocations: 1.049 MB / 0.7643 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.5213, allocations: 275.4 kB / 0.7646 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.5213, allocations: 4 kB / 0.7646 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.5224, allocations: 340.4 kB / 0.7649 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.5227, allocations: 95.86 kB / 0.765 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000846/0.5236, allocations: 1.007 MB / 0.766 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007084/0.5243, allocations: 91.86 kB / 0.7661 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.752e-05/0.5244, allocations: 27.98 kB / 0.7661 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/0.5244, allocations: 4 kB / 0.7661 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001238/0.5256, allocations: 0.7915 MB / 0.7669 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5256, allocations: 4.062 kB / 0.7669 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004776/0.5261, allocations: 232.6 kB / 0.7671 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.5265, allocations: 103.9 kB / 0.7672 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003126/0.5296, allocations: 2.946 MB / 0.7701 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006906/0.5303, allocations: 107.8 kB / 0.7702 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/0.5304, allocations: 24 kB / 0.7702 GB, free: 14.6 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004417/0.5308, allocations: 472.7 kB / 0.7707 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.5309, allocations: 106.7 kB / 0.7708 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.5322, allocations: 0.8008 MB / 0.7715 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.5322, allocations: 4 kB / 0.7715 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.5322, allocations: 0 / 0.7715 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.5322, allocations: 4 kB / 0.7716 GB, free: 13.2 MB / 0.6075 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 postOpt removeSimpleEquations (simulation): time 0.002429/0.5346, allocations: 2.125 MB / 0.7736 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.5347, allocations: 4 kB / 0.7736 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.5349, allocations: 76.16 kB / 0.7737 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003421/0.5353, allocations: 180.5 kB / 0.7739 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.5353, allocations: 12 kB / 0.7739 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006224/0.5359, allocations: 0.8489 MB / 0.7747 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.536, allocations: 7.891 kB / 0.7747 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.537, allocations: 0.8551 MB / 0.7756 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002742/0.5373, allocations: 243.5 kB / 0.7758 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.5374, allocations: 11.95 kB / 0.7758 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005544/0.538, allocations: 75.84 kB / 0.7759 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.252e-05/0.5381, allocations: 35.89 kB / 0.7759 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.5381, allocations: 12 kB / 0.7759 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008962/0.539, allocations: 0.8326 MB / 0.7767 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.539, allocations: 0 / 0.7767 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001102/0.5401, allocations: 0.507 MB / 0.7772 GB, free: 7.148 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003457/0.5405, allocations: 187.8 kB / 0.7774 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001682/0.5421, allocations: 1.123 MB / 0.7785 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5422, allocations: 4.062 kB / 0.7785 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004091/0.5426, allocations: 245.4 kB / 0.7787 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/0.5452, allocations: 0.6505 MB / 0.7794 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.5477, allocations: 2.111 MB / 0.7814 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006654/0.5484, allocations: 1.216 MB / 0.7826 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009057/0.5493, allocations: 364.4 kB / 0.783 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.5494, allocations: 71.42 kB / 0.783 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.5494, allocations: 0 / 0.783 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of Templates: time 0.02862/0.5781, allocations: 20.81 MB / 0.8034 GB, free: 12.59 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)