Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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.0007863/0.0007863, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.00491/0.00491, allocations: 172.6 kB / 16.26 MB, free: 6.676 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.255/1.255, allocations: 223.3 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9228/0.9228, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000432/0.000432, allocations: 8.562 kB / 0.5077 GB, free: 4.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1489, allocations: 82.31 MB / 0.5881 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.3807/0.5296, allocations: 157.3 MB / 0.7417 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002902/0.5325, allocations: 1.755 MB / 0.7434 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.5328, allocations: 10.38 kB / 0.7434 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004712/0.5332, allocations: 126.3 kB / 0.7435 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.5344, allocations: 0.4945 MB / 0.744 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008957/0.5353, allocations: 356 kB / 0.7443 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003088/0.5384, allocations: 3.479 MB / 0.7477 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009325/0.5394, allocations: 0.7491 MB / 0.7485 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.5408, allocations: 0.9048 MB / 0.7494 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007476/0.5416, allocations: 0.7159 MB / 0.7501 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.863e-05/0.5417, allocations: 35.5 kB / 0.7501 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.543, allocations: 0.7999 MB / 0.7509 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.5433, allocations: 278.8 kB / 0.7511 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004828/0.5438, allocations: 0.5247 MB / 0.7516 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.545, allocations: 1.367 MB / 0.753 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5451, allocations: 3.938 kB / 0.753 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5451, allocations: 0 / 0.753 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.5451, allocations: 0 / 0.753 GB, free: 3.426 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.001881/0.547, allocations: 1.27 MB / 0.7542 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.547, allocations: 8.031 kB / 0.7542 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.5471, allocations: 94.52 kB / 0.7543 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007015/0.5478, allocations: 190.5 kB / 0.7545 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.5489, allocations: 0.7983 MB / 0.7553 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.707e-05/0.549, allocations: 48.98 kB / 0.7553 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.664e-05/0.5491, allocations: 56 kB / 0.7554 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.5502, allocations: 0.8005 MB / 0.7562 GB, free: 4 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.5502, allocations: 0 / 0.7562 GB, free: 4 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.253e-05/0.5503, allocations: 24.08 kB / 0.7562 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.5503, allocations: 12 kB / 0.7562 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009134/0.5512, allocations: 0.5535 MB / 0.7567 GB, free: 15.41 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.003688/0.5549, allocations: 4.595 MB / 0.7612 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007252/0.5557, allocations: 426.3 kB / 0.7616 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003948/0.5561, allocations: 250.4 kB / 0.7619 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/0.5564, allocations: 202.2 kB / 0.7621 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004935/0.5569, allocations: 294.1 kB / 0.7623 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.5569, allocations: 0 / 0.7623 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001289/0.5582, allocations: 0.6432 MB / 0.763 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.5582, allocations: 89.03 kB / 0.7631 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.5595, allocations: 1.118 MB / 0.7641 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.5e-05/0.5595, allocations: 37.7 kB / 0.7642 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/0.5599, allocations: 497.1 kB / 0.7647 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.97e-05/0.56, allocations: 110.5 kB / 0.7648 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.167e-05/0.5601, allocations: 41.7 kB / 0.7648 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.5602, allocations: 330 kB / 0.7651 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003939/0.5606, allocations: 208.7 kB / 0.7653 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000615/0.5612, allocations: 0.5253 MB / 0.7658 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008964/0.5621, allocations: 0.6426 MB / 0.7665 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.5622, allocations: 0 / 0.7665 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001164/0.5633, allocations: 0.7377 MB / 0.7672 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001587/0.5635, allocations: 276.7 kB / 0.7674 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.5635, allocations: 11.94 kB / 0.7675 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.5635, allocations: 8 kB / 0.7675 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.564, allocations: 111.8 kB / 0.7676 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.564, allocations: 8 kB / 0.7676 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006665/0.5647, allocations: 99.41 kB / 0.7677 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.5647, allocations: 27.98 kB / 0.7677 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.182e-06/0.5647, allocations: 4 kB / 0.7677 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008825/0.5656, allocations: 0.5408 MB / 0.7682 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5656, allocations: 8 kB / 0.7682 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.082e-06/0.5657, allocations: 4 kB / 0.7682 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/0.566, allocations: 108.3 kB / 0.7683 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.566, allocations: 15.94 kB / 0.7684 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005822/0.5666, allocations: 91.53 kB / 0.7684 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.5667, allocations: 23.98 kB / 0.7685 GB, free: 2.574 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004488/0.5671, allocations: 471 kB / 0.7689 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.5672, allocations: 98.89 kB / 0.769 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008826/0.5681, allocations: 0.5031 MB / 0.7695 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.5681, allocations: 4 kB / 0.7695 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5681, allocations: 0 / 0.7695 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5682, allocations: 0 / 0.7695 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.5701, allocations: 1.401 MB / 0.7709 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.5701, allocations: 7.938 kB / 0.7709 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.5704, allocations: 67.89 kB / 0.7709 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.5704, allocations: 4 kB / 0.771 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.5704, allocations: 8 kB / 0.771 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.5704, allocations: 11.92 kB / 0.771 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5704, allocations: 0.875 kB / 0.771 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008005/0.5712, allocations: 0.614 MB / 0.7716 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000258/0.5715, allocations: 219.8 kB / 0.7718 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.897e-05/0.5716, allocations: 8 kB / 0.7718 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004558/0.5721, allocations: 51.89 kB / 0.7718 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.5721, allocations: 27.95 kB / 0.7719 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.5722, allocations: 8 kB / 0.7719 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009384/0.5731, allocations: 0.7953 MB / 0.7726 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5731, allocations: 0 / 0.7726 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009912/0.5741, allocations: 403.4 kB / 0.773 GB, free: 13.75 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): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001326/0.5755, allocations: 1.237 MB / 0.7742 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001324/0.5768, allocations: 0.8249 MB / 0.775 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5768, allocations: 0 / 0.775 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.5772, allocations: 212.6 kB / 0.7753 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/0.5794, allocations: 451 kB / 0.7757 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/0.5923, allocations: 8.833 MB / 0.7843 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007137/0.593, allocations: 1.181 MB / 0.7855 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001057/0.5941, allocations: 424.3 kB / 0.7859 GB, free: 112 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004407/0.5945, allocations: 327.3 kB / 0.7862 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of SimCode: time 7.22e-07/0.5946, allocations: 3.938 kB / 0.7862 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4062/1.001, allocations: 24.93 MB / 0.8105 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/1.001, allocations: 255.2 kB / 0.8108 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/3.314, allocations: 0 / 0.8108 GB, free: 6.984 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)