Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="IDEAS_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.0008692/0.0008693, allocations: 97.41 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.005475/0.005475, allocations: 169.8 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.226/1.226, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6858/0.6858, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 13.78 kB / 0.5041 GB, free: 3.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3313, allocations: 81.57 MB / 0.5837 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.1485/0.4798, allocations: 157.3 MB / 0.7374 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002829/0.4826, allocations: 1.756 MB / 0.7391 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.4829, allocations: 15.94 kB / 0.7391 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004592/0.4834, allocations: 139.2 kB / 0.7392 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.4845, allocations: 0.4942 MB / 0.7397 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009005/0.4854, allocations: 348.1 kB / 0.74 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002962/0.4884, allocations: 3.502 MB / 0.7435 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002341/0.4907, allocations: 2.215 MB / 0.7456 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.492, allocations: 0.9025 MB / 0.7465 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007494/0.4927, allocations: 0.7156 MB / 0.7472 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.207e-05/0.4928, allocations: 32 kB / 0.7472 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.494, allocations: 0.799 MB / 0.748 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002439/0.4942, allocations: 278.9 kB / 0.7483 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004658/0.4947, allocations: 0.5339 MB / 0.7488 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.4959, allocations: 1.378 MB / 0.7501 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.496, allocations: 0 / 0.7501 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.496, allocations: 0 / 0.7501 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.496, allocations: 0 / 0.7501 GB, free: 5.391 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001819/0.4978, allocations: 1.292 MB / 0.7514 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.4978, allocations: 12.03 kB / 0.7514 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.498, allocations: 94.52 kB / 0.7515 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006898/0.4987, allocations: 190.4 kB / 0.7517 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.4997, allocations: 0.806 MB / 0.7525 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.4998, allocations: 45 kB / 0.7525 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.399e-05/0.4999, allocations: 56 kB / 0.7526 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.501, allocations: 0.8317 MB / 0.7534 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.501, allocations: 3.938 kB / 0.7534 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.865e-05/0.5011, allocations: 24 kB / 0.7534 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.5011, allocations: 12 kB / 0.7534 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009233/0.502, allocations: 0.5773 MB / 0.754 GB, free: 1.258 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.003459/0.5055, allocations: 4.247 MB / 0.7581 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007204/0.5062, allocations: 454.1 kB / 0.7586 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004718/0.5067, allocations: 353.9 kB / 0.7589 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002579/0.507, allocations: 194.2 kB / 0.7591 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004898/0.5075, allocations: 319.1 kB / 0.7594 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001541/0.5077, allocations: 39.53 kB / 0.7594 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.836e-06/0.5077, allocations: 112 / 0.7594 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.004741/0.5124, allocations: 1.6 MB / 0.761 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.5125, allocations: 85.11 kB / 0.7611 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.5137, allocations: 1.147 MB / 0.7622 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.5138, allocations: 33.7 kB / 0.7622 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/0.5142, allocations: 488.4 kB / 0.7627 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.575e-05/0.5143, allocations: 118.3 kB / 0.7628 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.248e-05/0.5143, allocations: 45.69 kB / 0.7628 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.5144, allocations: 330 kB / 0.7632 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.5149, allocations: 232.9 kB / 0.7634 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006174/0.5155, allocations: 0.5462 MB / 0.7639 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009379/0.5164, allocations: 0.6946 MB / 0.7646 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.5164, allocations: 4 kB / 0.7646 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002282/0.5187, allocations: 1.108 MB / 0.7657 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.5189, allocations: 282.6 kB / 0.766 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5189, allocations: 4 kB / 0.766 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001476/0.5204, allocations: 430.3 kB / 0.7664 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.5208, allocations: 95.81 kB / 0.7665 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.5221, allocations: 1.115 MB / 0.7675 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007489/0.5229, allocations: 75.83 kB / 0.7676 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/0.5229, allocations: 27.98 kB / 0.7676 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.302e-06/0.523, allocations: 4 kB / 0.7676 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001442/0.5244, allocations: 0.7879 MB / 0.7684 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.5244, allocations: 7.938 kB / 0.7684 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005253/0.525, allocations: 222.4 kB / 0.7686 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.5253, allocations: 103.9 kB / 0.7687 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0036/0.5289, allocations: 3.049 MB / 0.7717 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007386/0.5297, allocations: 79.97 kB / 0.7718 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.5297, allocations: 20 kB / 0.7718 GB, free: 14.1 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 (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.0004711/0.5302, allocations: 468.7 kB / 0.7723 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.5303, allocations: 110.6 kB / 0.7724 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.5317, allocations: 0.7891 MB / 0.7731 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5317, allocations: 4 kB / 0.7731 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.5317, allocations: 0 / 0.7731 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.5317, allocations: 7.984 kB / 0.7731 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002371/0.5341, allocations: 1.733 MB / 0.7748 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5341, allocations: 0 / 0.7748 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.5344, allocations: 72.03 kB / 0.7749 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005132/0.5349, allocations: 267.2 kB / 0.7752 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.535, allocations: 12 kB / 0.7752 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009957/0.536, allocations: 1.048 MB / 0.7762 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.536, allocations: 4.141 kB / 0.7762 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.5373, allocations: 0.9055 MB / 0.7771 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002886/0.5376, allocations: 227.8 kB / 0.7773 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.5377, allocations: 16 kB / 0.7773 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006146/0.5383, allocations: 55.84 kB / 0.7774 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.405e-05/0.5384, allocations: 31.95 kB / 0.7774 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.5384, allocations: 12.19 kB / 0.7774 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009753/0.5394, allocations: 0.8158 MB / 0.7782 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5394, allocations: 3.938 kB / 0.7782 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001179/0.5406, allocations: 467.5 kB / 0.7787 GB, free: 6.887 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 (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.001586/0.5422, allocations: 1.422 MB / 0.78 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002565/0.5448, allocations: 1.281 MB / 0.7813 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5448, allocations: 64 / 0.7813 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006977/0.5455, allocations: 316.6 kB / 0.7816 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00351/0.549, allocations: 0.6234 MB / 0.7822 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01603/0.5651, allocations: 9.993 MB / 0.792 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007706/0.5659, allocations: 1.185 MB / 0.7931 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009629/0.5668, allocations: 312.4 kB / 0.7934 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003759/0.5672, allocations: 323.3 kB / 0.7937 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of SimCode: time 4.21e-07/0.5672, allocations: 0 / 0.7937 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.127/1.694, allocations: 29.9 MB / 0.8229 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002546/1.694, allocations: 275.9 kB / 0.8232 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/4.237, allocations: 1.156 kB / 0.8232 GB, free: 215.8 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)