Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="IDEAS_dev_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.002309/0.002309, allocations: 173.5 kB / 7.646 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.125/1.125, allocations: 133.6 MB / 141.6 MB, free: 2.867 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.297/2.297, allocations: 221.5 MB / 395.5 MB, free: 10.84 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.001312/0.001312, allocations: 99.23 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.598e-05/4.605e-05, allocations: 4 kB / 0.5535 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.837/0.837, allocations: 82.3 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.813/9.65, allocations: 1.832 GB / 2.465 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004117/9.65, allocations: 87.31 kB / 2.466 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 12.59/22.24, allocations: 1.784 GB / 4.249 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.689e-06/22.24, allocations: 0 / 4.249 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003728/22.24, allocations: 29.88 kB / 4.249 GB, free: 191.5 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.008537/22.25, allocations: 1.238 MB / 4.251 GB, free: 191 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.647e-05/22.25, allocations: 10.28 kB / 4.251 GB, free: 191 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002606/22.25, allocations: 186.9 kB / 4.251 GB, free: 191 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006798/22.26, allocations: 1.379 MB / 4.252 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.17e-05/22.26, allocations: 17.41 kB / 4.252 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002556/22.26, allocations: 36.75 kB / 4.252 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001378/22.26, allocations: 496.2 kB / 4.253 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/22.26, allocations: 0.7019 MB / 4.253 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/22.26, allocations: 3.75 kB / 4.253 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.521e-05/22.26, allocations: 3.781 kB / 4.253 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/22.26, allocations: 14.12 kB / 4.253 GB, free: 190.4 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.006861/22.27, allocations: 4.086 MB / 4.257 GB, free: 187.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/22.27, allocations: 462.7 kB / 4.258 GB, free: 187.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005688/22.27, allocations: 326.5 kB / 4.258 GB, free: 187.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004523/22.27, allocations: 201.9 kB / 4.258 GB, free: 187.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006025/22.27, allocations: 279.2 kB / 4.259 GB, free: 187.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007693/22.27, allocations: 16.08 kB / 4.259 GB, free: 187.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 5.31e-06/22.27, allocations: 0 / 4.259 GB, free: 187.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.002691/22.28, allocations: 0.7981 MB / 4.259 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.505e-05/22.28, allocations: 87.44 kB / 4.259 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/22.28, allocations: 0.8517 MB / 4.26 GB, free: 187 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.36e-05/22.28, allocations: 28.45 kB / 4.26 GB, free: 187 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007077/22.28, allocations: 489.8 kB / 4.261 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/22.28, allocations: 115.8 kB / 4.261 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/22.28, allocations: 3.938 kB / 4.261 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000194/22.28, allocations: 329.5 kB / 4.261 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004219/22.28, allocations: 197.2 kB / 4.261 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008868/22.28, allocations: 0.5138 MB / 4.262 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005683/22.28, allocations: 279.6 kB / 4.262 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/22.28, allocations: 0 / 4.262 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002644/22.28, allocations: 0.9365 MB / 4.263 GB, free: 186 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001393/22.29, allocations: 2.129 MB / 4.265 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/22.29, allocations: 7.625 kB / 4.265 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008745/22.29, allocations: 251.7 kB / 4.265 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/22.29, allocations: 67.61 kB / 4.265 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/22.29, allocations: 1.138 MB / 4.267 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/22.29, allocations: 79.39 kB / 4.267 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/22.29, allocations: 29.56 kB / 4.267 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/22.29, allocations: 4.719 kB / 4.267 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001836/22.29, allocations: 0.6338 MB / 4.267 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/22.29, allocations: 7.906 kB / 4.267 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008758/22.29, allocations: 222.7 kB / 4.268 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/22.29, allocations: 71.25 kB / 4.268 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005/22.3, allocations: 2.892 MB / 4.27 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/22.3, allocations: 73.59 kB / 4.271 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/22.3, allocations: 28.12 kB / 4.271 GB, free: 181.9 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.0003294/22.3, allocations: 122.6 kB / 4.271 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001616/22.3, allocations: 0.6678 MB / 4.271 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/22.3, allocations: 97.55 kB / 4.271 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/22.31, allocations: 0.6901 MB / 4.272 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/22.31, allocations: 10.56 kB / 4.272 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/22.31, allocations: 0 / 4.272 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/22.31, allocations: 3.219 kB / 4.272 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003559/22.31, allocations: 1.587 MB / 4.274 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/22.31, allocations: 2.156 kB / 4.274 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/22.31, allocations: 30.75 kB / 4.274 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005385/22.31, allocations: 208.2 kB / 4.274 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-05/22.31, allocations: 3.844 kB / 4.274 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/22.31, allocations: 1.012 MB / 4.275 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/22.31, allocations: 9.391 kB / 4.275 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/22.31, allocations: 0.8962 MB / 4.276 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000653/22.31, allocations: 230 kB / 4.276 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/22.31, allocations: 3.969 kB / 4.276 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009368/22.31, allocations: 61.69 kB / 4.276 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/22.31, allocations: 29.22 kB / 4.276 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/22.31, allocations: 13.78 kB / 4.276 GB, free: 180 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001261/22.32, allocations: 0.663 MB / 4.277 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.11e-07/22.32, allocations: 3.281 kB / 4.277 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002589/22.32, allocations: 0.5121 MB / 4.277 GB, free: 179.9 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.003941/22.32, allocations: 2.747 MB / 4.28 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002459/22.33, allocations: 1.042 MB / 4.281 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/22.33, allocations: 0 / 4.281 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005282/22.33, allocations: 217 kB / 4.281 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004602/22.33, allocations: 0.5387 MB / 4.282 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005524/22.34, allocations: 1.626 MB / 4.283 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009609/22.34, allocations: 1.202 MB / 4.284 GB, free: 177 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00317/22.34, allocations: 0.6705 MB / 4.285 GB, free: 177 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006001/22.34, allocations: 298.3 kB / 4.285 GB, free: 177 MB / 0.6823 GB Notification: Performance of SimCode: time 2.144e-06/22.34, allocations: 0 / 4.285 GB, free: 177 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1089/22.45, allocations: 33.62 MB / 4.318 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002781/22.45, allocations: 191.3 kB / 4.318 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.901/27.35, allocations: 0 / 4.318 GB, free: 162.9 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)