Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",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.000938/0.0009379, allocations: 176.2 kB / 7.648 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 0.687/0.687, allocations: 133.6 MB / 141.6 MB, free: 2.809 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 221.5 MB / 395.4 MB, free: 10.75 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.0008332/0.0008332, allocations: 97.47 kB / 478.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.514e-05/2.517e-05, allocations: 7.984 kB / 0.5535 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3963, allocations: 82.31 MB / 0.6339 GB, free: 40.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.014/4.41, allocations: 1.832 GB / 2.465 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/4.41, allocations: 91.61 kB / 2.466 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.967/11.38, allocations: 1.784 GB / 4.249 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.204e-06/11.38, allocations: 0 / 4.249 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002392/11.38, allocations: 27.72 kB / 4.249 GB, free: 189.6 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.006772/11.38, allocations: 1.246 MB / 4.251 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/11.38, allocations: 7.75 kB / 4.251 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/11.39, allocations: 178.6 kB / 4.251 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006582/11.39, allocations: 1.38 MB / 4.252 GB, free: 188.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.931e-05/11.39, allocations: 15.91 kB / 4.252 GB, free: 188.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003218/11.39, allocations: 40.06 kB / 4.252 GB, free: 188.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001632/11.39, allocations: 493 kB / 4.253 GB, free: 188.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/11.4, allocations: 0.695 MB / 4.253 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.165e-05/11.4, allocations: 7.797 kB / 4.253 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-05/11.4, allocations: 5.438 kB / 4.253 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-05/11.4, allocations: 13.56 kB / 4.253 GB, free: 188.6 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.007823/11.41, allocations: 4.096 MB / 4.257 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/11.41, allocations: 460.3 kB / 4.258 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006536/11.41, allocations: 334.2 kB / 4.258 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004711/11.41, allocations: 188.8 kB / 4.258 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007281/11.41, allocations: 285.1 kB / 4.259 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008098/11.41, allocations: 12.94 kB / 4.259 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 7.615e-06/11.41, allocations: 0 / 4.259 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.003355/11.41, allocations: 0.8009 MB / 4.259 GB, free: 185.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/11.41, allocations: 84.52 kB / 4.259 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00299/11.42, allocations: 0.849 MB / 4.26 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001263/11.42, allocations: 35.67 kB / 4.26 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007652/11.42, allocations: 489.3 kB / 4.261 GB, free: 185 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/11.42, allocations: 110.9 kB / 4.261 GB, free: 185 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/11.42, allocations: 0 / 4.261 GB, free: 185 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001099/11.42, allocations: 336.7 kB / 4.261 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005055/11.42, allocations: 196.8 kB / 4.261 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008593/11.42, allocations: 0.5104 MB / 4.262 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006951/11.42, allocations: 288.3 kB / 4.262 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/11.42, allocations: 1.375 kB / 4.262 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003014/11.42, allocations: 0.9299 MB / 4.263 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007456/11.42, allocations: 2.127 MB / 4.265 GB, free: 182 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-05/11.42, allocations: 9.703 kB / 4.265 GB, free: 182 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007473/11.42, allocations: 240.8 kB / 4.265 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/11.42, allocations: 69.44 kB / 4.265 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/11.43, allocations: 1.143 MB / 4.267 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/11.43, allocations: 77.53 kB / 4.267 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/11.43, allocations: 28.03 kB / 4.267 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/11.43, allocations: 6.156 kB / 4.267 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00168/11.43, allocations: 0.6385 MB / 4.267 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/11.43, allocations: 3.625 kB / 4.267 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008576/11.43, allocations: 228.1 kB / 4.268 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/11.43, allocations: 67.38 kB / 4.268 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004806/11.44, allocations: 2.893 MB / 4.27 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/11.44, allocations: 78.19 kB / 4.27 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/11.44, allocations: 23.44 kB / 4.271 GB, free: 180 MB / 0.6823 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_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 (35): * Single equations (assignments): 33 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0003266/11.44, allocations: 127.5 kB / 4.271 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001836/11.44, allocations: 0.6709 MB / 4.271 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003639/11.44, allocations: 90.59 kB / 4.271 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/11.44, allocations: 0.6984 MB / 4.272 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/11.44, allocations: 4.531 kB / 4.272 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/11.44, allocations: 0 / 4.272 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/11.44, allocations: 3.844 kB / 4.272 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004111/11.45, allocations: 1.585 MB / 4.274 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/11.45, allocations: 6.891 kB / 4.274 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/11.45, allocations: 34.02 kB / 4.274 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005724/11.45, allocations: 201.2 kB / 4.274 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.423e-05/11.45, allocations: 7.016 kB / 4.274 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/11.45, allocations: 1.013 MB / 4.275 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/11.45, allocations: 0 / 4.275 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/11.45, allocations: 0.9026 MB / 4.276 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007867/11.45, allocations: 216 kB / 4.276 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004059/11.45, allocations: 11.08 kB / 4.276 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/11.45, allocations: 61.31 kB / 4.276 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/11.45, allocations: 32.47 kB / 4.276 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-05/11.45, allocations: 13.81 kB / 4.276 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001694/11.45, allocations: 0.6649 MB / 4.277 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/11.45, allocations: 0 / 4.277 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003222/11.46, allocations: 0.5135 MB / 4.277 GB, free: 178.1 MB / 0.6823 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_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 (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.003986/11.46, allocations: 2.759 MB / 4.28 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00215/11.46, allocations: 1.027 MB / 4.281 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/11.46, allocations: 3.25 kB / 4.281 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003959/11.46, allocations: 222.6 kB / 4.281 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003464/11.47, allocations: 0.5456 MB / 4.282 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005364/11.47, allocations: 1.618 MB / 4.283 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/11.47, allocations: 1.207 MB / 4.284 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002251/11.48, allocations: 0.6651 MB / 4.285 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/11.48, allocations: 302 kB / 4.285 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.184e-06/11.48, allocations: 0 / 4.285 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07037/11.55, allocations: 33.61 MB / 4.318 GB, free: 174 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/11.55, allocations: 186.9 kB / 4.318 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.113/14.66, allocations: 2.109 kB / 4.318 GB, free: 173.8 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)