Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.0008536/0.000854, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009064/0.0009064, allocations: 168.7 kB / 15.95 MB, free: 204 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.323/1.323, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8946/0.8946, allocations: 135.3 MB / 426.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003129, allocations: 8 kB / 0.5071 GB, free: 5.027 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1445, allocations: 82.32 MB / 0.5875 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.4399/0.5844, allocations: 146.7 MB / 0.7308 GB, free: 3.102 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00548/0.5899, allocations: 3.37 MB / 0.7341 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006171/0.5906, allocations: 9.281 kB / 0.7341 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007189/0.5913, allocations: 112.7 kB / 0.7342 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.593, allocations: 400.2 kB / 0.7345 GB, free: 456 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.5946, allocations: 380.1 kB / 0.7349 GB, free: 280 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003868/0.5984, allocations: 2.983 MB / 0.7378 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.5998, allocations: 0.6937 MB / 0.7385 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/0.602, allocations: 0.8701 MB / 0.7394 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/0.6035, allocations: 0.7016 MB / 0.74 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002083/0.6037, allocations: 35.75 kB / 0.7401 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.6053, allocations: 0.5553 MB / 0.7406 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000418/0.6058, allocations: 283.7 kB / 0.7409 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005188/0.6063, allocations: 231.9 kB / 0.7411 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.6077, allocations: 1.022 MB / 0.7421 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.6077, allocations: 4 kB / 0.7421 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.462e-06/0.6077, allocations: 0 / 0.7421 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.603e-05/0.6078, allocations: 7.875 kB / 0.7421 GB, free: 13.33 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002428/0.6102, allocations: 1.304 MB / 0.7434 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.6103, allocations: 9.469 kB / 0.7434 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001934/0.6105, allocations: 96.7 kB / 0.7435 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008185/0.6113, allocations: 184.7 kB / 0.7437 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/0.6131, allocations: 0.7987 MB / 0.7444 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.829e-05/0.6132, allocations: 42.25 kB / 0.7445 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.6133, allocations: 63.34 kB / 0.7445 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.6147, allocations: 0.7889 MB / 0.7453 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.6147, allocations: 6.5 kB / 0.7453 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.432e-05/0.6148, allocations: 21.5 kB / 0.7453 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.6148, allocations: 15.41 kB / 0.7454 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009619/0.6157, allocations: 0.5454 MB / 0.7459 GB, free: 10.52 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.00461/0.6204, allocations: 4.595 MB / 0.7504 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007378/0.6211, allocations: 435 kB / 0.7508 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003883/0.6215, allocations: 246.1 kB / 0.751 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003032/0.6219, allocations: 206.2 kB / 0.7512 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005103/0.6224, allocations: 303.1 kB / 0.7515 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 6.232e-06/0.6224, allocations: 7.984 kB / 0.7515 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.003847/0.6262, allocations: 1.338 MB / 0.7528 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.6263, allocations: 81.11 kB / 0.7529 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.628, allocations: 1.114 MB / 0.754 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.16e-05/0.6281, allocations: 33.7 kB / 0.754 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004554/0.6285, allocations: 0.4893 MB / 0.7545 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.6287, allocations: 110.5 kB / 0.7546 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.6287, allocations: 8 kB / 0.7546 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6288, allocations: 333.9 kB / 0.7549 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003675/0.6292, allocations: 184.9 kB / 0.7551 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006089/0.6298, allocations: 0.4979 MB / 0.7556 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/0.6303, allocations: 299 kB / 0.7559 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.6303, allocations: 0 / 0.7559 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00224/0.6326, allocations: 0.988 MB / 0.7568 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001843/0.6328, allocations: 262.6 kB / 0.7571 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.6328, allocations: 8 kB / 0.7571 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/0.6342, allocations: 336.4 kB / 0.7574 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.6344, allocations: 63.91 kB / 0.7575 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.6355, allocations: 1.01 MB / 0.7585 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008424/0.6363, allocations: 111.4 kB / 0.7586 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.01e-05/0.6364, allocations: 24 kB / 0.7586 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.6364, allocations: 4 kB / 0.7586 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001391/0.6378, allocations: 0.7328 MB / 0.7593 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.6378, allocations: 8 kB / 0.7593 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005409/0.6384, allocations: 213.3 kB / 0.7595 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.6386, allocations: 67.84 kB / 0.7596 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003697/0.6423, allocations: 3.107 MB / 0.7626 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007692/0.6431, allocations: 95.67 kB / 0.7627 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/0.6432, allocations: 27.92 kB / 0.7627 GB, free: 8.316 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_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 (34): * Single equations (assignments): 32 * 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.0005699/0.6437, allocations: 480.6 kB / 0.7632 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.6439, allocations: 102.7 kB / 0.7633 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.6453, allocations: 0.7113 MB / 0.764 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.6453, allocations: 4 kB / 0.764 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.6453, allocations: 0 / 0.764 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.6453, allocations: 3.953 kB / 0.764 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002531/0.6478, allocations: 1.625 MB / 0.7656 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6479, allocations: 0 / 0.7656 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.648, allocations: 32.14 kB / 0.7656 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004726/0.6485, allocations: 212.7 kB / 0.7658 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.6485, allocations: 11.98 kB / 0.7658 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000958/0.6495, allocations: 0.9775 MB / 0.7668 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6495, allocations: 8.094 kB / 0.7668 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.6507, allocations: 0.842 MB / 0.7676 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003925/0.6511, allocations: 227.7 kB / 0.7678 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.6513, allocations: 8 kB / 0.7678 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005326/0.6518, allocations: 59.78 kB / 0.7679 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.602e-05/0.6519, allocations: 23.97 kB / 0.7679 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.6519, allocations: 15.94 kB / 0.7679 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001031/0.653, allocations: 0.7916 MB / 0.7687 GB, free: 2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.653, allocations: 4 kB / 0.7687 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001371/0.6544, allocations: 451.4 kB / 0.7692 GB, free: 1.555 MB / 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_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 (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001695/0.6561, allocations: 1.36 MB / 0.7705 GB, free: 156 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002004/0.6581, allocations: 1.061 MB / 0.7715 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6581, allocations: 0 / 0.7715 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004981/0.6586, allocations: 242.1 kB / 0.7717 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/0.6608, allocations: 457.5 kB / 0.7722 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/0.6741, allocations: 6.567 MB / 0.7786 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008805/0.675, allocations: 1.185 MB / 0.7798 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001015/0.676, allocations: 323.6 kB / 0.7801 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/0.6765, allocations: 303.3 kB / 0.7803 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of SimCode: time 9.22e-07/0.6765, allocations: 0 / 0.7803 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05229/0.7288, allocations: 28.01 MB / 0.8077 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/0.7291, allocations: 269 kB / 0.808 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/3.051, allocations: 0 / 0.808 GB, free: 9.754 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) Environment - environmentSimulation: