Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008183/0.0008185, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005251/0.005251, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.303/1.303, 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-master/package.mo): time 0.9032/0.9032, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.000304, allocations: 12 kB / 0.5077 GB, free: 4.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1476, allocations: 82.31 MB / 0.5881 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.3857/0.5334, allocations: 157.3 MB / 0.7417 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003015/0.5364, allocations: 1.749 MB / 0.7434 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003649/0.5368, allocations: 10 kB / 0.7434 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000557/0.5374, allocations: 139.8 kB / 0.7435 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.5388, allocations: 499 kB / 0.744 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.5399, allocations: 355 kB / 0.7443 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003578/0.5435, allocations: 3.5 MB / 0.7478 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002763/0.5463, allocations: 2.211 MB / 0.7499 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001777/0.5481, allocations: 0.9009 MB / 0.7508 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.5492, allocations: 0.7155 MB / 0.7515 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001566/0.5494, allocations: 37.12 kB / 0.7515 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.551, allocations: 0.7971 MB / 0.7523 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000361/0.5514, allocations: 285.1 kB / 0.7526 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007492/0.5521, allocations: 0.5272 MB / 0.7531 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.5539, allocations: 1.387 MB / 0.7544 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5539, allocations: 0 / 0.7544 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5539, allocations: 0 / 0.7544 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.891e-05/0.5539, allocations: 0 / 0.7544 GB, free: 2.066 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002251/0.5562, allocations: 1.296 MB / 0.7557 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.5562, allocations: 12.03 kB / 0.7557 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001553/0.5564, allocations: 94.45 kB / 0.7558 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008362/0.5572, allocations: 182.5 kB / 0.756 GB, free: 432 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.5586, allocations: 0.813 MB / 0.7568 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.514e-05/0.5586, allocations: 49 kB / 0.7568 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.556e-05/0.5587, allocations: 56 kB / 0.7569 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.56, allocations: 0.8249 MB / 0.7577 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.56, allocations: 7.875 kB / 0.7577 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.611e-05/0.5601, allocations: 27.98 kB / 0.7577 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.5601, allocations: 12 kB / 0.7577 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.5612, allocations: 0.5774 MB / 0.7583 GB, free: 13.93 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.004002/0.5652, allocations: 4.244 MB / 0.7624 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007634/0.5659, allocations: 451.9 kB / 0.7629 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005163/0.5665, allocations: 354.8 kB / 0.7632 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002968/0.5668, allocations: 194.7 kB / 0.7634 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005204/0.5673, allocations: 323.2 kB / 0.7637 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002215/0.5675, allocations: 39.53 kB / 0.7637 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.835e-06/0.5676, allocations: 0 / 0.7637 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.005134/0.5727, allocations: 1.595 MB / 0.7653 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.5728, allocations: 81.11 kB / 0.7654 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.5742, allocations: 1.147 MB / 0.7665 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.5742, allocations: 37.7 kB / 0.7665 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000412/0.5746, allocations: 492.6 kB / 0.767 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.5748, allocations: 118.4 kB / 0.7671 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/0.5748, allocations: 45.7 kB / 0.7672 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.575, allocations: 326 kB / 0.7675 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004176/0.5754, allocations: 232.9 kB / 0.7677 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006495/0.576, allocations: 0.5501 MB / 0.7682 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009847/0.577, allocations: 0.6946 MB / 0.7689 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.5771, allocations: 4 kB / 0.7689 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002457/0.5795, allocations: 1.103 MB / 0.77 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.5797, allocations: 273.3 kB / 0.7702 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.5797, allocations: 8 kB / 0.7703 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001523/0.5812, allocations: 439.2 kB / 0.7707 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.5816, allocations: 95.86 kB / 0.7708 GB, free: 448 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.5831, allocations: 1.108 MB / 0.7718 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008593/0.584, allocations: 91.75 kB / 0.7719 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.525e-05/0.584, allocations: 28.17 kB / 0.772 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/0.584, allocations: 4 kB / 0.772 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001488/0.5855, allocations: 0.7825 MB / 0.7727 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.5856, allocations: 4 kB / 0.7727 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005692/0.5861, allocations: 237.2 kB / 0.773 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.5865, allocations: 95.75 kB / 0.7731 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003958/0.5905, allocations: 3.056 MB / 0.776 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009694/0.5915, allocations: 75.98 kB / 0.7761 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.7e-05/0.5915, allocations: 23.98 kB / 0.7761 GB, free: 10.77 MB / 0.5919 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 (pulse_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006729/0.5922, allocations: 472.8 kB / 0.7766 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/0.5924, allocations: 106.6 kB / 0.7767 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.594, allocations: 0.7889 MB / 0.7775 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.594, allocations: 4 kB / 0.7775 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.594, allocations: 0 / 0.7775 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.594, allocations: 0 / 0.7775 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/0.5965, allocations: 1.741 MB / 0.7792 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.5965, allocations: 4.219 kB / 0.7792 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/0.5968, allocations: 59.88 kB / 0.7792 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005352/0.5974, allocations: 268.7 kB / 0.7795 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.5974, allocations: 8 kB / 0.7795 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.5985, allocations: 1.045 MB / 0.7805 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5985, allocations: 0 / 0.7805 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.6, allocations: 0.9095 MB / 0.7814 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003813/0.6004, allocations: 223.8 kB / 0.7816 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.6005, allocations: 19.92 kB / 0.7816 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006522/0.6012, allocations: 55.84 kB / 0.7817 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.251e-05/0.6013, allocations: 28.05 kB / 0.7817 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.6013, allocations: 12 kB / 0.7817 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001106/0.6024, allocations: 0.8158 MB / 0.7825 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6024, allocations: 0 / 0.7825 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001298/0.6037, allocations: 467.5 kB / 0.783 GB, free: 3.59 MB / 0.5919 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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001745/0.6055, allocations: 1.442 MB / 0.7844 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002731/0.6082, allocations: 1.273 MB / 0.7856 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6083, allocations: 0 / 0.7856 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007177/0.609, allocations: 323.2 kB / 0.7859 GB, free: 496 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003637/0.6126, allocations: 0.628 MB / 0.7865 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/0.63, allocations: 9.981 MB / 0.7963 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007878/0.6308, allocations: 1.185 MB / 0.7974 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001061/0.6319, allocations: 308.4 kB / 0.7977 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004528/0.6324, allocations: 327.3 kB / 0.798 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of SimCode: time 8.62e-07/0.6324, allocations: 4 kB / 0.798 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.839/1.471, allocations: 29.91 MB / 0.8272 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003332/1.472, allocations: 280.8 kB / 0.8275 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.533/4.005, allocations: 0 / 0.8275 GB, free: 5.742 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)