Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SeriesParallelFlowOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="IDEAS_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.001375/0.001376, allocations: 99.47 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.001613/0.001613, 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.524/2.524, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.353/1.353, allocations: 132.2 MB / 423.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005824/0.0005824, allocations: 8 kB / 0.5033 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8974/0.898, allocations: 81.57 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.2976/1.196, allocations: 140.5 MB / 0.7202 GB, free: 3.773 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00715/1.203, allocations: 2.152 MB / 0.7223 GB, free: 1.617 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006516/1.204, allocations: 19.88 kB / 0.7223 GB, free: 1.598 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/1.205, allocations: 234.9 kB / 0.7225 GB, free: 1.367 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003848/1.209, allocations: 0.6958 MB / 0.7232 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002581/1.211, allocations: 444.6 kB / 0.7236 GB, free: 248 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004194/1.216, allocations: 1.646 MB / 0.7252 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005802/1.221, allocations: 2.321 MB / 0.7275 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003636/1.225, allocations: 0.8566 MB / 0.7283 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/1.227, allocations: 0.5992 MB / 0.7289 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002004/1.227, allocations: 48 kB / 0.729 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002675/1.23, allocations: 0.6279 MB / 0.7296 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005913/1.23, allocations: 299.1 kB / 0.7299 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006622/1.231, allocations: 253.1 kB / 0.7301 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002229/1.233, allocations: 1.165 MB / 0.7312 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/1.233, allocations: 0 / 0.7312 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.256e-06/1.233, allocations: 0 / 0.7312 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.423e-05/1.233, allocations: 4 kB / 0.7312 GB, free: 8.406 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.005016/1.238, allocations: 1.514 MB / 0.7327 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/1.239, allocations: 12.03 kB / 0.7327 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003016/1.239, allocations: 102.5 kB / 0.7328 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/1.241, allocations: 202.3 kB / 0.733 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003181/1.244, allocations: 0.8639 MB / 0.7339 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.224e-05/1.244, allocations: 57.3 kB / 0.7339 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/1.244, allocations: 64 kB / 0.734 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002675/1.247, allocations: 0.9869 MB / 0.7349 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/1.247, allocations: 4 kB / 0.7349 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/1.247, allocations: 24 kB / 0.735 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.674e-05/1.247, allocations: 16 kB / 0.735 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002442/1.249, allocations: 0.8038 MB / 0.7358 GB, free: 3.562 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.00884/1.258, allocations: 4.804 MB / 0.7405 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004016/1.262, allocations: 4.031 MB / 0.7444 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/1.263, allocations: 20.27 kB / 0.7444 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009919/1.264, allocations: 330 kB / 0.7447 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006479/1.264, allocations: 31.69 kB / 0.7448 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 8.496e-06/1.264, allocations: 0 / 0.7448 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.009284/1.274, allocations: 1.592 MB / 0.7463 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/1.274, allocations: 110.8 kB / 0.7464 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00293/1.277, allocations: 1.173 MB / 0.7476 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001593/1.277, allocations: 37.7 kB / 0.7476 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007738/1.278, allocations: 0.5121 MB / 0.7481 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/1.278, allocations: 122.4 kB / 0.7482 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.141e-05/1.278, allocations: 8 kB / 0.7482 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002168/1.278, allocations: 330 kB / 0.7485 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007774/1.279, allocations: 209 kB / 0.7487 GB, free: 5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/1.28, allocations: 0.5385 MB / 0.7493 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008865/1.281, allocations: 325.3 kB / 0.7496 GB, free: 4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.367e-06/1.281, allocations: 0 / 0.7496 GB, free: 4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.004453/1.286, allocations: 1.043 MB / 0.7506 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.001511/1.287, allocations: 2.143 MB / 0.7527 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/1.287, allocations: 4 kB / 0.7527 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002372/1.29, allocations: 332.5 kB / 0.753 GB, free: 316 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008337/1.29, allocations: 111.8 kB / 0.7531 GB, free: 204 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/1.293, allocations: 1.003 MB / 0.7541 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/1.295, allocations: 99.8 kB / 0.7542 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/1.295, allocations: 28 kB / 0.7542 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/1.295, allocations: 4 kB / 0.7542 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002754/1.298, allocations: 0.7942 MB / 0.755 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/1.298, allocations: 4 kB / 0.755 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009653/1.299, allocations: 229.2 kB / 0.7552 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006071/1.299, allocations: 103.9 kB / 0.7553 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006575/1.306, allocations: 2.985 MB / 0.7582 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002465/1.309, allocations: 107.8 kB / 0.7583 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/1.309, allocations: 27.98 kB / 0.7584 GB, free: 10.65 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_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.00141/1.31, allocations: 468.7 kB / 0.7588 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005924/1.311, allocations: 106.7 kB / 0.7589 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002864/1.314, allocations: 0.7753 MB / 0.7597 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/1.314, allocations: 4 kB / 0.7597 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/1.314, allocations: 4 kB / 0.7597 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/1.314, allocations: 0 / 0.7597 GB, free: 9.285 MB / 0.5919 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.006082/1.32, allocations: 2.2 MB / 0.7618 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/1.32, allocations: 224 / 0.7618 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005992/1.321, allocations: 87.86 kB / 0.7619 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007732/1.321, allocations: 180.4 kB / 0.7621 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/1.321, allocations: 8 kB / 0.7621 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/1.323, allocations: 0.8567 MB / 0.7629 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-06/1.323, allocations: 7.953 kB / 0.7629 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002561/1.325, allocations: 0.9399 MB / 0.7638 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009416/1.326, allocations: 235.7 kB / 0.7641 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/1.327, allocations: 15.98 kB / 0.7641 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.328, allocations: 75.77 kB / 0.7642 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/1.328, allocations: 27.95 kB / 0.7642 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/1.328, allocations: 16 kB / 0.7642 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001982/1.33, allocations: 0.8288 MB / 0.765 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.71e-07/1.33, allocations: 0 / 0.765 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002665/1.333, allocations: 0.5071 MB / 0.7655 GB, free: 3.043 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.003398/1.336, allocations: 1.981 MB / 0.7674 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004009/1.34, allocations: 1.132 MB / 0.7685 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/1.34, allocations: 0 / 0.7685 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008917/1.341, allocations: 244.2 kB / 0.7688 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006527/1.348, allocations: 0.6501 MB / 0.7694 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02661/1.375, allocations: 10.33 MB / 0.7795 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/1.376, allocations: 1.232 MB / 0.7807 GB, free: 3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002354/1.378, allocations: 364.4 kB / 0.781 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008162/1.379, allocations: 359.3 kB / 0.7814 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of SimCode: time 1.011e-06/1.379, allocations: 0 / 0.7814 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1037/1.483, allocations: 31.26 MB / 0.8119 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005323/1.483, allocations: 272.2 kB / 0.8122 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.93/5.413, allocations: 4 kB / 0.8122 GB, free: 3.223 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) Environment - environmentSimulation: