Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",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.001548/0.001548, 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.001804/0.001804, allocations: 177.3 kB / 15.95 MB, free: 216 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.7/2.7, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.909/1.909, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005608/0.0005608, allocations: 13.28 kB / 0.5069 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3371, allocations: 82.31 MB / 0.5873 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.9436/1.281, allocations: 140.5 MB / 0.7245 GB, free: 8.523 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007815/1.289, allocations: 2.147 MB / 0.7266 GB, free: 7.035 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/1.29, allocations: 14.5 kB / 0.7266 GB, free: 7.027 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001575/1.291, allocations: 232.8 kB / 0.7268 GB, free: 6.898 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004881/1.296, allocations: 0.6959 MB / 0.7275 GB, free: 6.473 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002992/1.299, allocations: 464.1 kB / 0.7279 GB, free: 6.254 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005329/1.305, allocations: 1.629 MB / 0.7295 GB, free: 5.441 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01508/1.32, allocations: 2.322 MB / 0.7318 GB, free: 4.621 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005027/1.325, allocations: 0.8551 MB / 0.7326 GB, free: 4.211 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006848/1.332, allocations: 0.6007 MB / 0.7332 GB, free: 3.961 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006428/1.333, allocations: 49.28 kB / 0.7332 GB, free: 3.961 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003973/1.337, allocations: 0.6263 MB / 0.7339 GB, free: 3.797 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001096/1.338, allocations: 305.8 kB / 0.7341 GB, free: 3.676 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001459/1.339, allocations: 247.4 kB / 0.7344 GB, free: 3.547 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00388/1.343, allocations: 1.167 MB / 0.7355 GB, free: 3.285 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.343, allocations: 0 / 0.7355 GB, free: 3.285 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.869e-06/1.343, allocations: 0 / 0.7355 GB, free: 3.285 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.451e-05/1.343, allocations: 0 / 0.7355 GB, free: 3.285 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.01019/1.353, allocations: 1.522 MB / 0.737 GB, free: 2.332 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 9.582e-05/1.354, allocations: 10 kB / 0.737 GB, free: 2.332 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005039/1.354, allocations: 99.81 kB / 0.7371 GB, free: 2.262 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/1.356, allocations: 206.4 kB / 0.7373 GB, free: 2.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003409/1.36, allocations: 0.8674 MB / 0.7382 GB, free: 1.605 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.751e-05/1.36, allocations: 45.31 kB / 0.7382 GB, free: 1.562 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/1.36, allocations: 64 kB / 0.7383 GB, free: 1.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00261/1.362, allocations: 0.9888 MB / 0.7392 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/1.362, allocations: 3.938 kB / 0.7392 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/1.363, allocations: 27.94 kB / 0.7393 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/1.363, allocations: 16 kB / 0.7393 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/1.365, allocations: 0.8101 MB / 0.7401 GB, free: 15.93 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.009786/1.375, allocations: 4.801 MB / 0.7448 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004522/1.379, allocations: 4.04 MB / 0.7487 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/1.379, allocations: 8.281 kB / 0.7487 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/1.38, allocations: 334 kB / 0.749 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006869/1.381, allocations: 27.69 kB / 0.7491 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 3.466e-06/1.381, allocations: 0 / 0.7491 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.007646/1.389, allocations: 1.601 MB / 0.7506 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.798e-05/1.389, allocations: 110.8 kB / 0.7507 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003483/1.393, allocations: 1.177 MB / 0.7519 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001398/1.393, allocations: 37.7 kB / 0.7519 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008045/1.393, allocations: 0.5121 MB / 0.7524 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/1.394, allocations: 118.4 kB / 0.7525 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/1.394, allocations: 15.94 kB / 0.7525 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001713/1.394, allocations: 326 kB / 0.7528 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006582/1.395, allocations: 205 kB / 0.753 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/1.396, allocations: 0.5298 MB / 0.7536 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008834/1.397, allocations: 331.4 kB / 0.7539 GB, free: 384 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/1.397, allocations: 0 / 0.7539 GB, free: 384 kB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003957/1.401, allocations: 1.037 MB / 0.7549 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.001497/1.402, allocations: 2.142 MB / 0.757 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-05/1.402, allocations: 4 kB / 0.757 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002051/1.404, allocations: 334.8 kB / 0.7573 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006762/1.405, allocations: 107.8 kB / 0.7574 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/1.407, allocations: 1.005 MB / 0.7584 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/1.409, allocations: 103.8 kB / 0.7585 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/1.409, allocations: 24 kB / 0.7585 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/1.409, allocations: 4 kB / 0.7585 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002549/1.412, allocations: 0.7906 MB / 0.7593 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/1.412, allocations: 8 kB / 0.7593 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009391/1.413, allocations: 229.3 kB / 0.7595 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006364/1.413, allocations: 99.86 kB / 0.7596 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006254/1.42, allocations: 3.009 MB / 0.7625 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/1.422, allocations: 103.8 kB / 0.7626 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/1.422, allocations: 20 kB / 0.7627 GB, free: 7.031 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 (38): * Single equations (assignments): 36 * 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.00123/1.423, allocations: 480.7 kB / 0.7631 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004077/1.424, allocations: 106.7 kB / 0.7632 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/1.426, allocations: 0.7685 MB / 0.764 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/1.426, allocations: 4 kB / 0.764 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.426, allocations: 3.984 kB / 0.764 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/1.426, allocations: 4 kB / 0.764 GB, free: 5.656 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 postOpt removeSimpleEquations (simulation): time 0.005369/1.432, allocations: 2.194 MB / 0.7661 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.432, allocations: 4 kB / 0.7661 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004848/1.432, allocations: 75.88 kB / 0.7662 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005959/1.433, allocations: 172.7 kB / 0.7664 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.315e-05/1.433, allocations: 8.094 kB / 0.7664 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/1.434, allocations: 0.8644 MB / 0.7672 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/1.434, allocations: 4 kB / 0.7672 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/1.436, allocations: 0.9485 MB / 0.7681 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/1.437, allocations: 231.7 kB / 0.7684 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000512/1.438, allocations: 8 kB / 0.7684 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/1.439, allocations: 75.75 kB / 0.7684 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/1.439, allocations: 35.95 kB / 0.7685 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/1.439, allocations: 8 kB / 0.7685 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00236/1.442, allocations: 0.8327 MB / 0.7693 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.71e-07/1.442, allocations: 3.938 kB / 0.7693 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003429/1.445, allocations: 0.511 MB / 0.7698 GB, free: 15.41 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 (25): * Single equations (assignments): 22 * 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 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.003927/1.449, allocations: 1.987 MB / 0.7717 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004372/1.454, allocations: 1.135 MB / 0.7729 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/1.454, allocations: 0 / 0.7729 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008132/1.454, allocations: 253.6 kB / 0.7731 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005732/1.46, allocations: 0.6426 MB / 0.7737 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02945/1.49, allocations: 10.32 MB / 0.7838 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/1.491, allocations: 1.236 MB / 0.785 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002103/1.493, allocations: 368.4 kB / 0.7854 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007558/1.494, allocations: 359.3 kB / 0.7857 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of SimCode: time 1.933e-06/1.494, allocations: 0 / 0.7857 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1827/1.677, allocations: 31.27 MB / 0.8162 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003718/1.677, allocations: 277.4 kB / 0.8165 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.492/6.169, allocations: 3 kB / 0.8165 GB, free: 15.54 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) Environment - environmentSimulation: