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.001328/0.001328, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001272/0.001273, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.511/2.511, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.308/1.308, allocations: 132.2 MB / 423.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008036/0.0008039, allocations: 8 kB / 0.5033 GB, free: 4.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7725/0.7733, allocations: 81.58 MB / 0.583 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.2971/1.07, allocations: 135.7 MB / 0.7155 GB, free: 8.613 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005356/1.076, allocations: 1.678 MB / 0.7171 GB, free: 6.934 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005077/1.076, allocations: 15.88 kB / 0.7172 GB, free: 6.918 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/1.078, allocations: 179.2 kB / 0.7173 GB, free: 6.742 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002712/1.08, allocations: 0.4946 MB / 0.7178 GB, free: 6.246 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002299/1.083, allocations: 412.6 kB / 0.7182 GB, free: 5.848 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003677/1.086, allocations: 1.505 MB / 0.7197 GB, free: 4.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005248/1.092, allocations: 2.196 MB / 0.7218 GB, free: 2.133 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002424/1.094, allocations: 0.6929 MB / 0.7225 GB, free: 1.438 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/1.095, allocations: 481.9 kB / 0.7229 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001342/1.095, allocations: 36 kB / 0.723 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/1.097, allocations: 423.4 kB / 0.7234 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004246/1.097, allocations: 255.1 kB / 0.7236 GB, free: 272 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004079/1.098, allocations: 229.1 kB / 0.7238 GB, free: 36 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001784/1.1, allocations: 0.9821 MB / 0.7248 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/1.1, allocations: 0 / 0.7248 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.27e-06/1.1, allocations: 0 / 0.7248 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.397e-05/1.1, allocations: 3.938 kB / 0.7248 GB, free: 15.05 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.003771/1.104, allocations: 1.311 MB / 0.7261 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/1.104, allocations: 12.03 kB / 0.7261 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002171/1.104, allocations: 94.52 kB / 0.7262 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/1.105, allocations: 182.5 kB / 0.7264 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/1.108, allocations: 0.804 MB / 0.7272 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.503e-05/1.108, allocations: 41 kB / 0.7272 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/1.108, allocations: 68 kB / 0.7273 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/1.111, allocations: 0.82 MB / 0.7281 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/1.111, allocations: 7.875 kB / 0.7281 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/1.111, allocations: 24 kB / 0.7281 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/1.111, allocations: 12 kB / 0.7281 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/1.113, allocations: 0.5734 MB / 0.7287 GB, free: 10.91 MB / 0.5606 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.007359/1.12, allocations: 4.247 MB / 0.7328 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/1.122, allocations: 462.4 kB / 0.7332 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.259e-05/1.122, allocations: 19.92 kB / 0.7333 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009226/1.123, allocations: 324.5 kB / 0.7336 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004644/1.123, allocations: 35.59 kB / 0.7336 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 3.386e-06/1.123, allocations: 4 kB / 0.7336 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.008321/1.131, allocations: 1.565 MB / 0.7351 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/1.132, allocations: 110.8 kB / 0.7352 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002929/1.135, allocations: 1.151 MB / 0.7364 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001257/1.135, allocations: 33.7 kB / 0.7364 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007395/1.135, allocations: 492.4 kB / 0.7369 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/1.136, allocations: 118.4 kB / 0.737 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/1.136, allocations: 8 kB / 0.737 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001561/1.136, allocations: 330 kB / 0.7373 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007881/1.137, allocations: 208.9 kB / 0.7375 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/1.138, allocations: 0.5189 MB / 0.738 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009356/1.139, allocations: 319.2 kB / 0.7383 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/1.139, allocations: 3.938 kB / 0.7383 GB, free: 500 kB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.004539/1.143, allocations: 1.042 MB / 0.7393 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.001514/1.145, allocations: 2.133 MB / 0.7414 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/1.145, allocations: 4 kB / 0.7414 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002759/1.148, allocations: 406.3 kB / 0.7418 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007079/1.148, allocations: 99.86 kB / 0.7419 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002675/1.151, allocations: 1.111 MB / 0.743 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/1.153, allocations: 87.75 kB / 0.7431 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/1.153, allocations: 24 kB / 0.7431 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/1.153, allocations: 4.188 kB / 0.7431 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002781/1.156, allocations: 0.798 MB / 0.7439 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.156, allocations: 8.562 kB / 0.7439 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/1.157, allocations: 238.3 kB / 0.7441 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006664/1.158, allocations: 103.9 kB / 0.7442 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007219/1.165, allocations: 3.133 MB / 0.7473 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/1.167, allocations: 87.81 kB / 0.7474 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/1.167, allocations: 23.98 kB / 0.7474 GB, free: 6.855 MB / 0.5762 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 (35): * Single equations (assignments): 33 * 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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.001157/1.168, allocations: 464.9 kB / 0.7478 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003331/1.169, allocations: 110.6 kB / 0.7479 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/1.171, allocations: 0.7614 MB / 0.7487 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/1.171, allocations: 4 kB / 0.7487 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/1.171, allocations: 3.938 kB / 0.7487 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/1.171, allocations: 3.984 kB / 0.7487 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003012/1.175, allocations: 1.162 MB / 0.7498 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/1.175, allocations: 4 kB / 0.7498 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004985/1.175, allocations: 56.16 kB / 0.7499 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/1.176, allocations: 275.2 kB / 0.7501 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.254e-05/1.176, allocations: 11.95 kB / 0.7502 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/1.178, allocations: 1.044 MB / 0.7512 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.178, allocations: 0 / 0.7512 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00258/1.181, allocations: 0.9279 MB / 0.7521 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000852/1.181, allocations: 227.7 kB / 0.7523 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/1.182, allocations: 8 kB / 0.7523 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/1.183, allocations: 63.86 kB / 0.7524 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/1.183, allocations: 39.84 kB / 0.7524 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.843e-05/1.183, allocations: 12 kB / 0.7524 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00207/1.185, allocations: 0.808 MB / 0.7532 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.62e-07/1.185, allocations: 4 kB / 0.7532 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002561/1.188, allocations: 475.4 kB / 0.7537 GB, free: 200 kB / 0.5762 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 (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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003386/1.191, allocations: 1.908 MB / 0.7555 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004861/1.196, allocations: 1.253 MB / 0.7567 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.89e-05/1.196, allocations: 4 kB / 0.7568 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/1.198, allocations: 320.1 kB / 0.7571 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006167/1.204, allocations: 0.6268 MB / 0.7577 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02717/1.231, allocations: 10.22 MB / 0.7677 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001655/1.233, allocations: 1.205 MB / 0.7688 GB, free: 204 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002225/1.235, allocations: 340.1 kB / 0.7692 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007257/1.236, allocations: 323.3 kB / 0.7695 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of SimCode: time 8.42e-07/1.236, allocations: 0 / 0.7695 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/1.336, allocations: 30.36 MB / 0.7991 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000427/1.336, allocations: 257.3 kB / 0.7994 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.617/4.953, allocations: 0 / 0.7994 GB, free: 1.348 MB / 0.6231 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/linux/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) Environment - environmentSimulation: