Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.ParallelDpOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="IDEAS_dev_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.001392/0.001392, 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.002113/0.002113, 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.596/2.596, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.746/1.746, allocations: 135.2 MB / 426.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000597/0.0005973, allocations: 8 kB / 0.5069 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2919, allocations: 82.32 MB / 0.5873 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.919/1.211, allocations: 135.7 MB / 0.7198 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009899/1.221, allocations: 3.109 MB / 0.7228 GB, free: 9.793 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008487/1.222, allocations: 9.406 kB / 0.7228 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001273/1.223, allocations: 184.2 kB / 0.723 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003491/1.227, allocations: 0.4997 MB / 0.7235 GB, free: 9.375 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003167/1.23, allocations: 446.2 kB / 0.7239 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004157/1.234, allocations: 1.52 MB / 0.7254 GB, free: 8.414 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006177/1.24, allocations: 2.195 MB / 0.7276 GB, free: 7.633 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003226/1.244, allocations: 0.6975 MB / 0.7282 GB, free: 7.293 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001776/1.245, allocations: 497 kB / 0.7287 GB, free: 7.082 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002423/1.248, allocations: 34.31 kB / 0.7287 GB, free: 7.082 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002583/1.25, allocations: 418.9 kB / 0.7291 GB, free: 6.973 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006037/1.251, allocations: 254.3 kB / 0.7294 GB, free: 6.879 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007468/1.252, allocations: 229.5 kB / 0.7296 GB, free: 6.758 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005713/1.258, allocations: 0.9873 MB / 0.7306 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.258, allocations: 0 / 0.7306 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd: time 5.159e-06/1.258, allocations: 0 / 0.7306 GB, free: 6.535 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.884e-05/1.258, allocations: 0 / 0.7306 GB, free: 6.535 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.004967/1.263, allocations: 1.315 MB / 0.7319 GB, free: 5.656 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 8.895e-05/1.263, allocations: 14.97 kB / 0.7319 GB, free: 5.652 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002927/1.263, allocations: 93.03 kB / 0.732 GB, free: 5.582 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/1.265, allocations: 192.5 kB / 0.7321 GB, free: 5.508 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002886/1.267, allocations: 0.8041 MB / 0.7329 GB, free: 5.055 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.444e-05/1.268, allocations: 46.91 kB / 0.733 GB, free: 5.035 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/1.268, allocations: 63.16 kB / 0.733 GB, free: 5.016 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/1.27, allocations: 0.8146 MB / 0.7338 GB, free: 4.594 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/1.27, allocations: 6.875 kB / 0.7338 GB, free: 4.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.974e-05/1.27, allocations: 21.41 kB / 0.7339 GB, free: 4.574 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/1.27, allocations: 16.12 kB / 0.7339 GB, free: 4.574 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001653/1.272, allocations: 0.5667 MB / 0.7344 GB, free: 4.406 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.01233/1.284, allocations: 4.252 MB / 0.7386 GB, free: 0.918 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/1.285, allocations: 463.4 kB / 0.739 GB, free: 0.543 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/1.286, allocations: 15.17 kB / 0.739 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008676/1.286, allocations: 335.1 kB / 0.7394 GB, free: 260 kB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007301/1.287, allocations: 39.59 kB / 0.7394 GB, free: 220 kB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 3.927e-06/1.287, allocations: 0 / 0.7394 GB, free: 220 kB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.005147/1.292, allocations: 0.7087 MB / 0.7401 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/1.293, allocations: 114.7 kB / 0.7402 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00251/1.295, allocations: 1.151 MB / 0.7413 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001613/1.295, allocations: 37.7 kB / 0.7414 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000695/1.296, allocations: 488.3 kB / 0.7418 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/1.296, allocations: 118.4 kB / 0.7419 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/1.296, allocations: 12 kB / 0.7419 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002023/1.296, allocations: 322 kB / 0.7422 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005952/1.297, allocations: 209 kB / 0.7424 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000939/1.298, allocations: 0.5226 MB / 0.743 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007334/1.299, allocations: 315.7 kB / 0.7433 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/1.299, allocations: 4 kB / 0.7433 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002008/1.301, allocations: 0.7283 MB / 0.744 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.001368/1.302, allocations: 2.133 MB / 0.7461 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/1.302, allocations: 4.625 kB / 0.7461 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.172e-05/1.302, allocations: 12 kB / 0.7461 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008146/1.303, allocations: 123.8 kB / 0.7462 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/1.303, allocations: 8 kB / 0.7462 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/1.305, allocations: 87.75 kB / 0.7463 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.42e-05/1.305, allocations: 28.64 kB / 0.7463 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/1.305, allocations: 4.109 kB / 0.7463 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001487/1.306, allocations: 0.5923 MB / 0.7469 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/1.306, allocations: 8 kB / 0.7469 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/1.306, allocations: 12.03 kB / 0.7469 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006349/1.307, allocations: 107.8 kB / 0.747 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098e-05/1.307, allocations: 8 kB / 0.747 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/1.308, allocations: 95.69 kB / 0.7471 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/1.308, allocations: 27.98 kB / 0.7471 GB, free: 8.008 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 (55): * Single equations (assignments): 54 * 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.00116/1.31, allocations: 464.6 kB / 0.7476 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/1.31, allocations: 106.7 kB / 0.7477 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/1.311, allocations: 0.5329 MB / 0.7482 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/1.311, allocations: 4 kB / 0.7482 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/1.311, allocations: 8 kB / 0.7482 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/1.311, allocations: 0 / 0.7482 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/1.314, allocations: 1.166 MB / 0.7494 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.314, allocations: 0 / 0.7494 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004795/1.315, allocations: 75.88 kB / 0.7494 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/1.315, allocations: 7.938 kB / 0.7494 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/1.315, allocations: 8 kB / 0.7494 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/1.315, allocations: 7.953 kB / 0.7494 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.315, allocations: 0 / 0.7494 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/1.316, allocations: 0.6876 MB / 0.7501 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006926/1.317, allocations: 227.8 kB / 0.7503 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/1.317, allocations: 11.95 kB / 0.7503 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/1.318, allocations: 67.77 kB / 0.7504 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/1.318, allocations: 35.89 kB / 0.7504 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.443e-05/1.318, allocations: 12 kB / 0.7505 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001933/1.32, allocations: 0.8159 MB / 0.7513 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.61e-07/1.32, allocations: 0 / 0.7513 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002203/1.322, allocations: 431.4 kB / 0.7517 GB, free: 3.176 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 (33): * Single equations (assignments): 31 * 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.002914/1.325, allocations: 1.799 MB / 0.7534 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002679/1.328, allocations: 0.8799 MB / 0.7543 GB, free: 420 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.328, allocations: 0 / 0.7543 GB, free: 420 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007555/1.329, allocations: 235.7 kB / 0.7545 GB, free: 184 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006298/1.335, allocations: 0.632 MB / 0.7551 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02978/1.365, allocations: 9.797 MB / 0.7647 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/1.366, allocations: 1.201 MB / 0.7659 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002077/1.368, allocations: 436.7 kB / 0.7663 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006827/1.369, allocations: 331.3 kB / 0.7666 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of SimCode: time 1.503e-06/1.369, allocations: 4 kB / 0.7666 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1368/1.506, allocations: 28.47 MB / 0.7944 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006003/1.506, allocations: 230.2 kB / 0.7946 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.391/5.898, allocations: 2.953 kB / 0.7946 GB, free: 7.168 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) Environment - environmentSimulation: