Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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.0007849/0.000785, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008596/0.0008596, allocations: 172.7 kB / 15.95 MB, free: 208 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.333/1.333, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7258/0.7258, allocations: 132.3 MB / 423.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.0003014, allocations: 8.875 kB / 0.5035 GB, free: 4.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.4132, allocations: 81.58 MB / 0.5832 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1537/0.5669, allocations: 146.7 MB / 0.7265 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002672/0.5696, allocations: 1.643 MB / 0.7281 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003141/0.5699, allocations: 11.88 kB / 0.7281 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004483/0.5704, allocations: 111.2 kB / 0.7282 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.5715, allocations: 390.2 kB / 0.7286 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009775/0.5725, allocations: 333.7 kB / 0.7289 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002815/0.5753, allocations: 2.982 MB / 0.7318 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.5764, allocations: 0.6951 MB / 0.7325 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.578, allocations: 0.8598 MB / 0.7333 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.579, allocations: 0.7118 MB / 0.734 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.5792, allocations: 36 kB / 0.734 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.5804, allocations: 0.5574 MB / 0.7346 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003365/0.5807, allocations: 278.9 kB / 0.7348 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003717/0.5811, allocations: 233.1 kB / 0.7351 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.5822, allocations: 1.021 MB / 0.7361 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5823, allocations: 0 / 0.7361 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5823, allocations: 0 / 0.7361 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.862e-05/0.5823, allocations: 0 / 0.7361 GB, free: 3.559 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.002048/0.5843, allocations: 1.303 MB / 0.7373 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.5844, allocations: 16.03 kB / 0.7373 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000123/0.5845, allocations: 94.52 kB / 0.7374 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007419/0.5853, allocations: 182.5 kB / 0.7376 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.5866, allocations: 0.7923 MB / 0.7384 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/0.5867, allocations: 45 kB / 0.7384 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.423e-05/0.5868, allocations: 64 kB / 0.7385 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.5879, allocations: 0.8083 MB / 0.7393 GB, free: 64 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.5879, allocations: 0 / 0.7393 GB, free: 64 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.222e-05/0.588, allocations: 24 kB / 0.7393 GB, free: 40 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.588, allocations: 12 kB / 0.7393 GB, free: 28 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000857/0.5889, allocations: 0.5383 MB / 0.7398 GB, free: 15.49 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.00343/0.5923, allocations: 4.61 MB / 0.7443 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006484/0.593, allocations: 418.3 kB / 0.7447 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/0.5933, allocations: 248.7 kB / 0.745 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002548/0.5936, allocations: 194.2 kB / 0.7452 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000448/0.594, allocations: 305 kB / 0.7455 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/0.5941, allocations: 0 / 0.7455 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001201/0.5953, allocations: 0.6468 MB / 0.7461 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.5953, allocations: 85.06 kB / 0.7462 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.5965, allocations: 1.114 MB / 0.7473 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.5966, allocations: 33.7 kB / 0.7473 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003537/0.5969, allocations: 496.1 kB / 0.7478 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.447e-05/0.597, allocations: 114.5 kB / 0.7479 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/0.5971, allocations: 8 kB / 0.7479 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.056e-05/0.5972, allocations: 326 kB / 0.7482 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/0.5975, allocations: 184.7 kB / 0.7484 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005058/0.598, allocations: 0.494 MB / 0.7488 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/0.5984, allocations: 299 kB / 0.7491 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.5984, allocations: 0 / 0.7491 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001048/0.5995, allocations: 0.6821 MB / 0.7498 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001745/0.5997, allocations: 284 kB / 0.7501 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.5997, allocations: 7.984 kB / 0.7501 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.5997, allocations: 8 kB / 0.7501 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.6014, allocations: 383.4 kB / 0.7504 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002973/0.6044, allocations: 6.087 MB / 0.7564 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007929/0.6052, allocations: 111.5 kB / 0.7565 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-05/0.6053, allocations: 24 kB / 0.7565 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.6053, allocations: 8.219 kB / 0.7565 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008755/0.6062, allocations: 0.5321 MB / 0.757 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.6062, allocations: 11.94 kB / 0.7571 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.6062, allocations: 8 kB / 0.7571 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/0.6068, allocations: 160.3 kB / 0.7572 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.6068, allocations: 15.92 kB / 0.7572 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006766/0.6075, allocations: 99.53 kB / 0.7573 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.6075, allocations: 16 kB / 0.7573 GB, free: 12.57 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005407/0.6081, allocations: 481.1 kB / 0.7578 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.6082, allocations: 102.8 kB / 0.7579 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008446/0.6091, allocations: 0.4911 MB / 0.7584 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.6091, allocations: 4 kB / 0.7584 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.6091, allocations: 4 kB / 0.7584 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.6091, allocations: 4 kB / 0.7584 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.611, allocations: 1.395 MB / 0.7598 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.611, allocations: 0 / 0.7598 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000568/0.6116, allocations: 155.8 kB / 0.7599 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.6116, allocations: 4 kB / 0.7599 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.6116, allocations: 12.22 kB / 0.7599 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002581/0.6142, allocations: 6.024 MB / 0.7658 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.6143, allocations: 4.031 kB / 0.7658 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007882/0.615, allocations: 0.6045 MB / 0.7664 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002948/0.6154, allocations: 227.7 kB / 0.7666 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.6155, allocations: 8 kB / 0.7666 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004579/0.6159, allocations: 59.78 kB / 0.7667 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.616, allocations: 27.97 kB / 0.7667 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.616, allocations: 11.98 kB / 0.7667 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009507/0.617, allocations: 0.7836 MB / 0.7675 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.617, allocations: 0 / 0.7675 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0011/0.6181, allocations: 407.4 kB / 0.7679 GB, free: 1.398 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00131/0.6194, allocations: 1.244 MB / 0.7691 GB, free: 116 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002824/0.6223, allocations: 1.11 MB / 0.7702 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.6223, allocations: 0 / 0.7702 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007388/0.623, allocations: 300.1 kB / 0.7705 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.6249, allocations: 458.9 kB / 0.7709 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.6356, allocations: 6.307 MB / 0.7771 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009677/0.6366, allocations: 1.18 MB / 0.7782 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001182/0.6378, allocations: 371.5 kB / 0.7786 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000404/0.6382, allocations: 315.3 kB / 0.7789 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of SimCode: time 9.22e-07/0.6383, allocations: 0 / 0.7789 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04444/0.6827, allocations: 26.39 MB / 0.8046 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.6829, allocations: 254.2 kB / 0.8049 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/2.974, allocations: 0 / 0.8049 GB, free: 11.49 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) Environment - environmentSimulation: