Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.SeriesFlowOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="IDEAS_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.01117/0.01117, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.002254/0.002254, allocations: 189.8 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.461/2.461, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.423/1.423, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002514/0.002515, allocations: 67.2 kB / 0.5809 GB, free: 1.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2934, allocations: 80.21 MB / 0.6592 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 1.024/1.318, allocations: 161.6 MB / 0.817 GB, free: 3.336 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.004416/1.322, allocations: 1.755 MB / 0.8187 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000805/1.323, allocations: 14.75 kB / 0.8187 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009859/1.324, allocations: 163.7 kB / 0.8189 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002878/1.327, allocations: 0.5205 MB / 0.8194 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002502/1.33, allocations: 396 kB / 0.8198 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006819/1.336, allocations: 2.531 MB / 0.8223 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00319/1.34, allocations: 0.9342 MB / 0.8232 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004649/1.344, allocations: 1.04 MB / 0.8242 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00253/1.347, allocations: 0.7043 MB / 0.8249 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003321/1.347, allocations: 56.78 kB / 0.8249 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003595/1.351, allocations: 0.7387 MB / 0.8256 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009738/1.352, allocations: 308.3 kB / 0.8259 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002072/1.354, allocations: 0.5437 MB / 0.8265 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004666/1.359, allocations: 1.406 MB / 0.8278 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/1.359, allocations: 1.641 kB / 0.8278 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of FrontEnd: time 4.609e-06/1.359, allocations: 1.062 kB / 0.8278 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.988e-05/1.359, allocations: 1.203 kB / 0.8278 GB, free: 3.09 MB / 0.6387 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.005706/1.365, allocations: 1.446 MB / 0.8293 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.839e-05/1.365, allocations: 9.812 kB / 0.8293 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002137/1.365, allocations: 102.2 kB / 0.8294 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/1.367, allocations: 185.9 kB / 0.8295 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003179/1.37, allocations: 0.8467 MB / 0.8304 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.273e-05/1.37, allocations: 49.41 kB / 0.8304 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/1.37, allocations: 63.17 kB / 0.8305 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/1.372, allocations: 0.7886 MB / 0.8312 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/1.372, allocations: 1.375 kB / 0.8312 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.73e-05/1.372, allocations: 26.06 kB / 0.8313 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/1.372, allocations: 14.72 kB / 0.8313 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/1.374, allocations: 0.5378 MB / 0.8318 GB, free: 1.559 MB / 0.6387 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.008074/1.382, allocations: 4.585 MB / 0.8363 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009172/1.383, allocations: 417.2 kB / 0.8367 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006199/1.384, allocations: 246.6 kB / 0.8369 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004853/1.384, allocations: 195.2 kB / 0.8371 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006999/1.385, allocations: 290.1 kB / 0.8374 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 4.018e-06/1.385, allocations: 0 / 0.8374 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31): time 0.001737/1.387, allocations: 0.6326 MB / 0.838 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.981e-05/1.387, allocations: 85.8 kB / 0.8381 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/1.389, allocations: 1.119 MB / 0.8392 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/1.389, allocations: 37.67 kB / 0.8392 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005603/1.389, allocations: 491 kB / 0.8397 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/1.39, allocations: 113.2 kB / 0.8398 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/1.39, allocations: 110.7 kB / 0.8399 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001751/1.39, allocations: 324.6 kB / 0.8402 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004644/1.39, allocations: 215.3 kB / 0.8404 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007351/1.391, allocations: 0.5179 MB / 0.8409 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009638/1.392, allocations: 0.634 MB / 0.8415 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/1.392, allocations: 4.281 kB / 0.8415 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001546/1.394, allocations: 0.7226 MB / 0.8422 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.202e-05/1.394, allocations: 41.67 kB / 0.8423 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/1.394, allocations: 7.531 kB / 0.8423 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.078e-05/1.394, allocations: 6.344 kB / 0.8423 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004887/1.394, allocations: 109.9 kB / 0.8424 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.331e-05/1.394, allocations: 11.81 kB / 0.8424 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/1.396, allocations: 69.27 kB / 0.8425 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.26e-05/1.396, allocations: 25.31 kB / 0.8425 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009533/1.397, allocations: 0.4949 MB / 0.843 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006445/1.397, allocations: 0.4901 MB / 0.8435 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008016/1.398, allocations: 0.5509 MB / 0.844 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.482e-06/1.398, allocations: 2.016 kB / 0.844 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001319/1.399, allocations: 0.6445 MB / 0.8446 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.486e-05/1.399, allocations: 38.61 kB / 0.8447 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1.399, allocations: 4.906 kB / 0.8447 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/1.4, allocations: 9.406 kB / 0.8447 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/1.4, allocations: 107.6 kB / 0.8448 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-05/1.4, allocations: 16.34 kB / 0.8448 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009746/1.401, allocations: 66.83 kB / 0.8449 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/1.401, allocations: 23.12 kB / 0.8449 GB, free: 11.33 MB / 0.6544 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.0003106/1.401, allocations: 218.5 kB / 0.8451 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003216/1.402, allocations: 102.3 kB / 0.8452 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/1.403, allocations: 0.499 MB / 0.8457 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/1.403, allocations: 3.094 kB / 0.8457 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/1.403, allocations: 0.875 kB / 0.8457 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/1.403, allocations: 0 / 0.8457 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003138/1.406, allocations: 1.38 MB / 0.847 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.096e-06/1.406, allocations: 0 / 0.847 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/1.406, allocations: 65.22 kB / 0.8471 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/1.406, allocations: 4.406 kB / 0.8471 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/1.406, allocations: 8.781 kB / 0.8471 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/1.406, allocations: 5.688 kB / 0.8471 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.119e-05/1.406, allocations: 11.55 kB / 0.8471 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/1.408, allocations: 0.5977 MB / 0.8477 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006336/1.408, allocations: 214 kB / 0.8479 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003135/1.409, allocations: 11.22 kB / 0.8479 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000636/1.409, allocations: 20.8 kB / 0.8479 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/1.409, allocations: 34.27 kB / 0.848 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/1.409, allocations: 11.62 kB / 0.848 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001462/1.411, allocations: 0.7909 MB / 0.8488 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.91e-07/1.411, allocations: 2.719 kB / 0.8488 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001971/1.413, allocations: 403.3 kB / 0.8491 GB, free: 10.05 MB / 0.6544 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.002208/1.415, allocations: 1.223 MB / 0.8503 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001798/1.417, allocations: 0.823 MB / 0.8511 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.417, allocations: 0.75 kB / 0.8511 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003766/1.417, allocations: 199.2 kB / 0.8513 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00258/1.42, allocations: 454.1 kB / 0.8518 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01787/1.438, allocations: 8.158 MB / 0.8597 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/1.439, allocations: 1.18 MB / 0.8609 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002276/1.442, allocations: 413.1 kB / 0.8613 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009816/1.443, allocations: 323.1 kB / 0.8616 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of SimCode: time 1.843e-06/1.443, allocations: 0.8125 kB / 0.8616 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1024/1.545, allocations: 26.51 MB / 0.8875 GB, free: 8.457 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.41/18.96, allocations: 14.86 kB / 0.8875 GB, free: 8.449 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)