Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",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.001094/0.001094, allocations: 180.9 kB / 7.651 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.915/0.915, allocations: 133.6 MB / 141.6 MB, free: 2.879 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.681/1.681, allocations: 221.5 MB / 395.5 MB, free: 10.8 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.00103/0.00103, allocations: 92.73 kB / 478.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.465e-05/2.467e-05, allocations: 4 kB / 0.5536 GB, free: 8.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5118/0.5118, allocations: 82.3 MB / 0.6339 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.997/5.509, allocations: 1.832 GB / 2.466 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/5.51, allocations: 91.44 kB / 2.466 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.146/12.66, allocations: 1.976 GB / 4.441 GB, free: 33.27 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.233e-06/12.66, allocations: 0 / 4.441 GB, free: 33.27 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001377/12.66, allocations: 31.98 kB / 4.441 GB, free: 33.24 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004664/12.66, allocations: 1.282 MB / 4.443 GB, free: 31.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/12.66, allocations: 8.031 kB / 4.443 GB, free: 31.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/12.66, allocations: 194.4 kB / 4.443 GB, free: 31.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003772/12.67, allocations: 1.437 MB / 4.444 GB, free: 30.21 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/12.67, allocations: 16 kB / 4.444 GB, free: 30.19 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/12.67, allocations: 40 kB / 4.444 GB, free: 30.15 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009834/12.67, allocations: 0.6975 MB / 4.445 GB, free: 29.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009803/12.67, allocations: 0.8532 MB / 4.446 GB, free: 28.52 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/12.67, allocations: 3.938 kB / 4.446 GB, free: 28.52 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.63e-05/12.67, allocations: 4 kB / 4.446 GB, free: 28.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/12.67, allocations: 12 kB / 4.446 GB, free: 28.5 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.003694/12.67, allocations: 4.608 MB / 4.45 GB, free: 23.58 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/12.67, allocations: 4.078 MB / 4.454 GB, free: 18.68 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/12.67, allocations: 340.6 kB / 4.455 GB, free: 18.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002617/12.67, allocations: 198.8 kB / 4.455 GB, free: 18.11 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003352/12.67, allocations: 296.7 kB / 4.455 GB, free: 17.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003549/12.67, allocations: 15.84 kB / 4.455 GB, free: 17.79 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 1.773e-06/12.67, allocations: 0 / 4.455 GB, free: 17.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.001544/12.68, allocations: 0.805 MB / 4.456 GB, free: 16.97 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/12.68, allocations: 81.11 kB / 4.456 GB, free: 16.87 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008977/12.68, allocations: 0.9024 MB / 4.457 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/12.68, allocations: 33.7 kB / 4.457 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/12.68, allocations: 0.5275 MB / 4.457 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.894e-05/12.68, allocations: 122.3 kB / 4.458 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/12.68, allocations: 0 / 4.458 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.74e-05/12.68, allocations: 322 kB / 4.458 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/12.68, allocations: 209 kB / 4.458 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003866/12.68, allocations: 0.5355 MB / 4.459 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/12.68, allocations: 289.2 kB / 4.459 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/12.68, allocations: 4 kB / 4.459 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001452/12.68, allocations: 0.9417 MB / 4.46 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005755/12.68, allocations: 2.232 MB / 4.462 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/12.68, allocations: 4 kB / 4.462 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004238/12.68, allocations: 230.5 kB / 4.462 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/12.68, allocations: 87.64 kB / 4.462 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008985/12.68, allocations: 1.109 MB / 4.463 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/12.68, allocations: 91.8 kB / 4.463 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.864e-05/12.68, allocations: 32 kB / 4.463 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/12.68, allocations: 4.938 kB / 4.463 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009549/12.68, allocations: 0.6483 MB / 4.464 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/12.68, allocations: 4 kB / 4.464 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004624/12.68, allocations: 211 kB / 4.464 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/12.69, allocations: 79.89 kB / 4.464 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/12.69, allocations: 2.774 MB / 4.467 GB, free: 5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009601/12.69, allocations: 87.8 kB / 4.467 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/12.69, allocations: 28 kB / 4.467 GB, free: 4.887 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 (40): * Single equations (assignments): 38 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001559/12.69, allocations: 129 kB / 4.467 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008498/12.69, allocations: 0.6646 MB / 4.468 GB, free: 4.078 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.223e-05/12.69, allocations: 102.8 kB / 4.468 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/12.69, allocations: 0.7161 MB / 4.469 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/12.69, allocations: 4 kB / 4.469 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/12.69, allocations: 0 / 4.469 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/12.69, allocations: 11.98 kB / 4.469 GB, free: 3.234 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.002206/12.69, allocations: 1.999 MB / 4.471 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/12.69, allocations: 4 kB / 4.471 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/12.69, allocations: 56.22 kB / 4.471 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002354/12.69, allocations: 136.6 kB / 4.471 GB, free: 0.9102 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/12.69, allocations: 12 kB / 4.471 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005235/12.69, allocations: 0.8606 MB / 4.472 GB, free: 12 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/12.69, allocations: 0 / 4.472 GB, free: 12 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4376/13.13, allocations: 0.886 MB / 4.473 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005239/13.13, allocations: 229.5 kB / 4.473 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/13.13, allocations: 3.203 kB / 4.473 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007561/13.13, allocations: 76.14 kB / 4.473 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/13.13, allocations: 37.03 kB / 4.473 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/13.13, allocations: 11.97 kB / 4.473 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001209/13.13, allocations: 0.7041 MB / 4.474 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/13.13, allocations: 0 / 4.474 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002101/13.14, allocations: 0.563 MB / 4.474 GB, free: 174.1 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 (26): * Single equations (assignments): 23 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.003401/13.14, allocations: 3.006 MB / 4.477 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001956/13.14, allocations: 1.069 MB / 4.478 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/13.14, allocations: 0 / 4.478 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003597/13.14, allocations: 226.9 kB / 4.478 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003229/13.15, allocations: 0.5915 MB / 4.479 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002763/13.15, allocations: 1.719 MB / 4.481 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/13.15, allocations: 1.236 MB / 4.482 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001744/13.15, allocations: 0.7274 MB / 4.483 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/13.15, allocations: 335.1 kB / 4.483 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of SimCode: time 7.02e-07/13.15, allocations: 0 / 4.483 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.69/16.84, allocations: 36.39 MB / 4.518 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/16.84, allocations: 186.8 kB / 4.519 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.028/19.87, allocations: 0 / 4.519 GB, free: 170.2 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)