Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002267/0.002267, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.159/1.159, allocations: 133.6 MB / 141.6 MB, free: 2.895 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.771/2.771, allocations: 221.5 MB / 395.5 MB, free: 10.76 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001651, allocations: 98.52 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 5.391e-05/5.46e-05, allocations: 4 kB / 0.5536 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9736/0.9737, allocations: 82.29 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.273/10.25, allocations: 1.834 GB / 2.468 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003996/10.25, allocations: 83.45 kB / 2.468 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 11.8/22.05, allocations: 1.986 GB / 4.454 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.258e-06/22.05, allocations: 4 kB / 4.454 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002634/22.05, allocations: 35.92 kB / 4.454 GB, free: 14.02 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.007562/22.06, allocations: 1.275 MB / 4.455 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.389e-05/22.06, allocations: 8.031 kB / 4.455 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001958/22.06, allocations: 194.4 kB / 4.456 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006465/22.07, allocations: 1.461 MB / 4.457 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.038e-05/22.07, allocations: 16 kB / 4.457 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/22.07, allocations: 40 kB / 4.457 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001779/22.07, allocations: 0.6975 MB / 4.458 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/22.07, allocations: 0.8531 MB / 4.459 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/22.07, allocations: 3.938 kB / 4.459 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.843e-05/22.07, allocations: 4 kB / 4.459 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/22.07, allocations: 12 kB / 4.459 GB, free: 9.262 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.00676/22.08, allocations: 4.573 MB / 4.463 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7697/22.85, allocations: 4.028 MB / 4.467 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/22.85, allocations: 334.9 kB / 4.467 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006076/22.85, allocations: 196.3 kB / 4.468 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001219/22.85, allocations: 292.9 kB / 4.468 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001194/22.85, allocations: 12.89 kB / 4.468 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 1.129e-05/22.85, allocations: 0 / 4.468 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.004757/22.86, allocations: 0.8403 MB / 4.469 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/22.86, allocations: 83.25 kB / 4.469 GB, free: 171 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003754/22.86, allocations: 0.8993 MB / 4.47 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001681/22.86, allocations: 28.89 kB / 4.47 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009936/22.86, allocations: 0.5263 MB / 4.47 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002793/22.86, allocations: 124.5 kB / 4.47 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/22.86, allocations: 3.344 kB / 4.47 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001266/22.86, allocations: 336.1 kB / 4.471 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008083/22.86, allocations: 207.5 kB / 4.471 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/22.86, allocations: 0.5332 MB / 4.471 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009793/22.87, allocations: 297.3 kB / 4.472 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-05/22.87, allocations: 2.281 kB / 4.472 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.004349/22.87, allocations: 0.9753 MB / 4.473 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007956/22.87, allocations: 2.219 MB / 4.475 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.508e-05/22.87, allocations: 9.547 kB / 4.475 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/22.87, allocations: 254.3 kB / 4.475 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006857/22.87, allocations: 79.5 kB / 4.475 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002443/22.88, allocations: 1.153 MB / 4.476 GB, free: 167 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/22.88, allocations: 90.55 kB / 4.476 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/22.88, allocations: 30.62 kB / 4.476 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/22.88, allocations: 3.969 kB / 4.476 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002284/22.88, allocations: 0.6765 MB / 4.477 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/22.88, allocations: 3.562 kB / 4.477 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/22.88, allocations: 239.6 kB / 4.477 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/22.88, allocations: 80.28 kB / 4.477 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005858/22.89, allocations: 2.956 MB / 4.48 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/22.89, allocations: 91.73 kB / 4.48 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/22.89, allocations: 25.88 kB / 4.48 GB, free: 165.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0003753/22.89, allocations: 128.8 kB / 4.48 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001796/22.89, allocations: 0.7041 MB / 4.481 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003515/22.89, allocations: 98.53 kB / 4.481 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/22.89, allocations: 0.7465 MB / 4.482 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/22.89, allocations: 3.781 kB / 4.482 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/22.89, allocations: 8.344 kB / 4.482 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/22.89, allocations: 3.469 kB / 4.482 GB, free: 165.2 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.004576/22.9, allocations: 2.035 MB / 4.484 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/22.9, allocations: 6.094 kB / 4.484 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003907/22.9, allocations: 57.39 kB / 4.484 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005228/22.9, allocations: 161.1 kB / 4.484 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-05/22.9, allocations: 8.797 kB / 4.484 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/22.9, allocations: 0.8947 MB / 4.485 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/22.9, allocations: 2.812 kB / 4.485 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/22.9, allocations: 0.9075 MB / 4.486 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007791/22.9, allocations: 226.5 kB / 4.486 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000333/22.9, allocations: 3.531 kB / 4.486 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/22.9, allocations: 86.44 kB / 4.486 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/22.9, allocations: 33 kB / 4.486 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/22.91, allocations: 14.47 kB / 4.486 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001312/22.91, allocations: 0.7046 MB / 4.487 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.11e-07/22.91, allocations: 3.844 kB / 4.487 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002937/22.91, allocations: 0.5721 MB / 4.487 GB, free: 163.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.003977/22.91, allocations: 3.085 MB / 4.49 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002294/22.92, allocations: 1.087 MB / 4.492 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.331e-06/22.92, allocations: 3.375 kB / 4.492 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003935/22.92, allocations: 229.9 kB / 4.492 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005412/22.92, allocations: 0.5872 MB / 4.492 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/22.93, allocations: 1.714 MB / 4.494 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008031/22.93, allocations: 1.244 MB / 4.495 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002315/22.93, allocations: 0.7287 MB / 4.496 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003977/22.93, allocations: 329.1 kB / 4.496 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of SimCode: time 7.42e-07/22.93, allocations: 0 / 4.496 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08411/23.01, allocations: 37.16 MB / 4.533 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/23.01, allocations: 188.7 kB / 4.533 GB, free: 159 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.102/28.12, allocations: 0 / 4.533 GB, free: 159 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)