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.001779/0.001779, 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.002303/0.002303, 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.543/2.543, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.807/1.807, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006036/0.0006036, allocations: 8 kB / 0.5069 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3437, allocations: 82.32 MB / 0.5873 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.8587/1.203, allocations: 135.7 MB / 0.7198 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006378/1.209, allocations: 1.668 MB / 0.7214 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/1.21, allocations: 13.91 kB / 0.7214 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001662/1.212, allocations: 180.4 kB / 0.7216 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00431/1.216, allocations: 0.4949 MB / 0.7221 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003097/1.219, allocations: 416.6 kB / 0.7225 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004973/1.224, allocations: 1.487 MB / 0.7239 GB, free: 9.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002283/1.227, allocations: 0.7067 MB / 0.7246 GB, free: 9.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003319/1.23, allocations: 0.6983 MB / 0.7253 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/1.232, allocations: 486.9 kB / 0.7258 GB, free: 8.617 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001982/1.232, allocations: 33.44 kB / 0.7258 GB, free: 8.617 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002581/1.235, allocations: 411.8 kB / 0.7262 GB, free: 8.516 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008038/1.236, allocations: 264.8 kB / 0.7265 GB, free: 8.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001025/1.237, allocations: 235.1 kB / 0.7267 GB, free: 8.285 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003312/1.24, allocations: 0.9646 MB / 0.7276 GB, free: 8.066 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.24, allocations: 0 / 0.7276 GB, free: 8.066 MB / 0.545 GB Notification: Performance of FrontEnd: time 5.43e-06/1.24, allocations: 1.766 kB / 0.7276 GB, free: 8.066 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.553e-05/1.24, allocations: 0 / 0.7276 GB, free: 8.066 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.006192/1.246, allocations: 1.29 MB / 0.7289 GB, free: 7.184 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.359e-05/1.246, allocations: 9.625 kB / 0.7289 GB, free: 7.184 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004832/1.247, allocations: 98.73 kB / 0.729 GB, free: 7.109 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/1.249, allocations: 188.6 kB / 0.7292 GB, free: 7.039 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004156/1.253, allocations: 0.7889 MB / 0.7299 GB, free: 6.594 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/1.253, allocations: 46.78 kB / 0.73 GB, free: 6.574 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/1.254, allocations: 61.78 kB / 0.73 GB, free: 6.555 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003063/1.257, allocations: 0.7887 MB / 0.7308 GB, free: 6.145 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.096e-05/1.257, allocations: 6.812 kB / 0.7308 GB, free: 6.141 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/1.257, allocations: 21.92 kB / 0.7308 GB, free: 6.125 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-05/1.257, allocations: 13.09 kB / 0.7309 GB, free: 6.125 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/1.259, allocations: 0.5422 MB / 0.7314 GB, free: 5.969 MB / 0.545 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.0128/1.272, allocations: 4.594 MB / 0.7359 GB, free: 2.078 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/1.274, allocations: 443.9 kB / 0.7363 GB, free: 1.938 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/1.274, allocations: 14.97 kB / 0.7363 GB, free: 1.934 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009466/1.275, allocations: 301.9 kB / 0.7366 GB, free: 1.801 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 5.34e-06/1.275, allocations: 0 / 0.7366 GB, free: 1.801 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.003139/1.278, allocations: 0.6507 MB / 0.7372 GB, free: 1.586 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001613/1.278, allocations: 106.7 kB / 0.7373 GB, free: 1.461 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00415/1.282, allocations: 1.113 MB / 0.7384 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000165/1.283, allocations: 37.7 kB / 0.7385 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009521/1.284, allocations: 493.5 kB / 0.7389 GB, free: 260 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/1.284, allocations: 111.9 kB / 0.739 GB, free: 156 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/1.284, allocations: 8 kB / 0.739 GB, free: 148 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0003007/1.284, allocations: 325.4 kB / 0.7394 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006837/1.285, allocations: 188.9 kB / 0.7395 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/1.286, allocations: 0.4894 MB / 0.74 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008122/1.287, allocations: 296.1 kB / 0.7403 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/1.287, allocations: 3.938 kB / 0.7403 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002358/1.289, allocations: 0.6867 MB / 0.741 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.001668/1.291, allocations: 2.12 MB / 0.743 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.786e-05/1.291, allocations: 11.95 kB / 0.7431 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.749e-05/1.291, allocations: 8 kB / 0.7431 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007605/1.292, allocations: 110.5 kB / 0.7432 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.835e-05/1.292, allocations: 15.5 kB / 0.7432 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/1.294, allocations: 116.6 kB / 0.7433 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/1.294, allocations: 22.48 kB / 0.7433 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/1.294, allocations: 4 kB / 0.7433 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001662/1.296, allocations: 0.5425 MB / 0.7438 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/1.296, allocations: 8.156 kB / 0.7439 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/1.296, allocations: 15.92 kB / 0.7439 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005653/1.296, allocations: 110.6 kB / 0.744 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/1.296, allocations: 11.94 kB / 0.744 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/1.298, allocations: 98.2 kB / 0.7441 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.217e-05/1.298, allocations: 20 kB / 0.7441 GB, free: 11.02 MB / 0.5606 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 (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001219/1.299, allocations: 472.6 kB / 0.7445 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004884/1.3, allocations: 98.78 kB / 0.7446 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/1.302, allocations: 482.1 kB / 0.7451 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/1.302, allocations: 4 kB / 0.7451 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/1.302, allocations: 4 kB / 0.7451 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/1.302, allocations: 0 / 0.7451 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003513/1.305, allocations: 1.102 MB / 0.7462 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/1.305, allocations: 0 / 0.7462 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/1.306, allocations: 71.89 kB / 0.7463 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-05/1.306, allocations: 224 / 0.7463 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.371e-05/1.306, allocations: 25.31 kB / 0.7463 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/1.306, allocations: 0 / 0.7463 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/1.306, allocations: 7.938 kB / 0.7463 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/1.308, allocations: 0.6213 MB / 0.7469 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/1.309, allocations: 227.7 kB / 0.7471 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004345/1.309, allocations: 8 kB / 0.7471 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/1.31, allocations: 59.73 kB / 0.7472 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/1.311, allocations: 27.95 kB / 0.7472 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/1.311, allocations: 12 kB / 0.7472 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002574/1.313, allocations: 0.7914 MB / 0.748 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.2e-07/1.313, allocations: 0 / 0.748 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00284/1.316, allocations: 407.4 kB / 0.7484 GB, free: 6.441 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003395/1.32, allocations: 1.73 MB / 0.7501 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002561/1.322, allocations: 0.8058 MB / 0.7509 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/1.322, allocations: 0 / 0.7509 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005974/1.323, allocations: 200.8 kB / 0.751 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003579/1.326, allocations: 450.4 kB / 0.7515 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02611/1.352, allocations: 9.54 MB / 0.7608 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001853/1.354, allocations: 1.197 MB / 0.762 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002676/1.357, allocations: 436.2 kB / 0.7624 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000862/1.358, allocations: 323.3 kB / 0.7627 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of SimCode: time 2.004e-06/1.358, allocations: 0 / 0.7627 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09995/1.458, allocations: 25.5 MB / 0.7876 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000511/1.459, allocations: 232.1 kB / 0.7878 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.137/5.595, allocations: 2.25 kB / 0.7878 GB, free: 14.01 MB / 0.6075 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/linux/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) Environment - environmentSimulation: