Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",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.01099/0.01099, allocations: 101.1 kB / 15.73 MB, free: 6.012 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.002173/0.002173, allocations: 187 kB / 16.67 MB, free: 5.949 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.337/2.337, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9753/0.9753, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 64.14 kB / 0.5809 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.316, allocations: 80.21 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 1.09/1.407, allocations: 161.6 MB / 0.817 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009426/1.416, allocations: 3.611 MB / 0.8205 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000845/1.417, allocations: 13.69 kB / 0.8206 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001031/1.418, allocations: 163.8 kB / 0.8207 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002914/1.421, allocations: 0.5255 MB / 0.8212 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002914/1.424, allocations: 446.9 kB / 0.8217 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005899/1.43, allocations: 2.564 MB / 0.8242 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005695/1.436, allocations: 2.412 MB / 0.8265 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004218/1.44, allocations: 1.047 MB / 0.8275 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002178/1.442, allocations: 0.7142 MB / 0.8282 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002381/1.442, allocations: 58.53 kB / 0.8283 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00313/1.446, allocations: 0.748 MB / 0.829 GB, free: 2.641 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006993/1.446, allocations: 313.8 kB / 0.8293 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001828/1.448, allocations: 0.5437 MB / 0.8299 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004057/1.452, allocations: 1.432 MB / 0.8312 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/1.452, allocations: 3.281 kB / 0.8313 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.336e-06/1.452, allocations: 0.875 kB / 0.8313 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.277e-05/1.452, allocations: 0 / 0.8313 GB, free: 2.535 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.004098/1.456, allocations: 1.459 MB / 0.8327 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 8.341e-05/1.457, allocations: 11 kB / 0.8327 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002031/1.457, allocations: 93.08 kB / 0.8328 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/1.458, allocations: 182.3 kB / 0.833 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002671/1.461, allocations: 0.8622 MB / 0.8338 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.186e-05/1.461, allocations: 41.94 kB / 0.8338 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/1.461, allocations: 61.81 kB / 0.8339 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/1.463, allocations: 0.8274 MB / 0.8347 GB, free: 1 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/1.463, allocations: 5.5 kB / 0.8347 GB, free: 1 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.532e-05/1.464, allocations: 22.59 kB / 0.8347 GB, free: 1 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-05/1.464, allocations: 13.78 kB / 0.8347 GB, free: 1 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/1.465, allocations: 0.5631 MB / 0.8353 GB, free: 0.9961 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.006825/1.472, allocations: 4.207 MB / 0.8394 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/1.473, allocations: 441.2 kB / 0.8398 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006662/1.474, allocations: 342.3 kB / 0.8401 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004512/1.474, allocations: 197.5 kB / 0.8403 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007651/1.475, allocations: 322.9 kB / 0.8406 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000664/1.476, allocations: 38.09 kB / 0.8407 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 5.871e-06/1.476, allocations: 0 / 0.8407 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.002315/1.478, allocations: 0.6991 MB / 0.8414 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.066e-05/1.478, allocations: 86.47 kB / 0.8414 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002453/1.481, allocations: 1.155 MB / 0.8426 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/1.481, allocations: 38.06 kB / 0.8426 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005904/1.481, allocations: 489.2 kB / 0.8431 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/1.482, allocations: 113.7 kB / 0.8432 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002888/1.482, allocations: 113.5 kB / 0.8433 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001946/1.482, allocations: 324.6 kB / 0.8436 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006153/1.483, allocations: 238.8 kB / 0.8438 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009987/1.484, allocations: 0.5432 MB / 0.8444 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/1.485, allocations: 0.6772 MB / 0.845 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/1.485, allocations: 1.969 kB / 0.845 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002098/1.487, allocations: 0.7766 MB / 0.8458 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.876e-05/1.487, allocations: 35.86 kB / 0.8458 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/1.488, allocations: 3.188 kB / 0.8458 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.402e-05/1.488, allocations: 11.41 kB / 0.8458 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008158/1.488, allocations: 117.1 kB / 0.8459 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.988e-05/1.488, allocations: 12.88 kB / 0.846 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/1.49, allocations: 66.67 kB / 0.846 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-05/1.49, allocations: 23.16 kB / 0.846 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001289/1.491, allocations: 0.5209 MB / 0.8465 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008837/1.492, allocations: 0.4992 MB / 0.847 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001219/1.493, allocations: 0.5969 MB / 0.8476 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.051e-06/1.493, allocations: 3.969 kB / 0.8476 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001877/1.495, allocations: 0.6906 MB / 0.8483 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.733e-05/1.495, allocations: 38.53 kB / 0.8483 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.495, allocations: 6.719 kB / 0.8483 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/1.495, allocations: 9.344 kB / 0.8483 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007092/1.496, allocations: 107.4 kB / 0.8484 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/1.496, allocations: 11.69 kB / 0.8485 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/1.498, allocations: 68.86 kB / 0.8485 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.659e-05/1.498, allocations: 24.92 kB / 0.8486 GB, free: 11.36 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 (55): * Single equations (assignments): 54 * 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.0003338/1.498, allocations: 223.9 kB / 0.8488 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/1.498, allocations: 102.4 kB / 0.8489 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/1.5, allocations: 0.5391 MB / 0.8494 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/1.5, allocations: 9.016 kB / 0.8494 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.5, allocations: 0 / 0.8494 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/1.5, allocations: 5.234 kB / 0.8494 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003437/1.503, allocations: 1.499 MB / 0.8509 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/1.503, allocations: 3.844 kB / 0.8509 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005145/1.504, allocations: 69.5 kB / 0.8509 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/1.504, allocations: 8.156 kB / 0.8509 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/1.504, allocations: 13.78 kB / 0.851 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.108e-05/1.504, allocations: 7.188 kB / 0.851 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/1.504, allocations: 0.875 kB / 0.851 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/1.505, allocations: 0.6653 MB / 0.8516 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006789/1.506, allocations: 221 kB / 0.8518 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/1.506, allocations: 9.391 kB / 0.8518 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008955/1.507, allocations: 44.58 kB / 0.8519 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/1.507, allocations: 32.84 kB / 0.8519 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-05/1.507, allocations: 15.56 kB / 0.8519 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001829/1.509, allocations: 0.8127 MB / 0.8527 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.21e-07/1.509, allocations: 2.844 kB / 0.8527 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002231/1.512, allocations: 429.1 kB / 0.8531 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 (33): * Single equations (assignments): 31 * 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.002448/1.514, allocations: 1.281 MB / 0.8544 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002327/1.516, allocations: 0.9021 MB / 0.8553 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.516, allocations: 0.9688 kB / 0.8553 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005397/1.517, allocations: 232.4 kB / 0.8555 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003501/1.52, allocations: 0.4962 MB / 0.856 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01988/1.54, allocations: 8.509 MB / 0.8643 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/1.542, allocations: 1.183 MB / 0.8654 GB, free: 5.992 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002123/1.544, allocations: 439 kB / 0.8659 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007234/1.545, allocations: 337.2 kB / 0.8662 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of SimCode: time 1.332e-06/1.545, allocations: 0 / 0.8662 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09634/1.641, allocations: 28.43 MB / 0.8939 GB, free: 3.82 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.26/16.91, allocations: 10.64 kB / 0.8939 GB, free: 3.816 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)