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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007917/0.0007917, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0009784/0.0009784, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7363/0.7363, allocations: 132.3 MB / 423.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002996, allocations: 12.62 kB / 0.5035 GB, free: 4.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3965, allocations: 81.56 MB / 0.5832 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.159/0.5555, allocations: 146.8 MB / 0.7265 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00264/0.5581, allocations: 1.635 MB / 0.7281 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002196/0.5584, allocations: 7.938 kB / 0.7281 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004075/0.5588, allocations: 119.2 kB / 0.7282 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009591/0.5598, allocations: 382.2 kB / 0.7286 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008512/0.5606, allocations: 341.9 kB / 0.7289 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002734/0.5634, allocations: 3.013 MB / 0.7318 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002366/0.5658, allocations: 2.156 MB / 0.7339 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/0.5672, allocations: 0.8559 MB / 0.7348 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007979/0.568, allocations: 0.704 MB / 0.7355 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.105e-05/0.5681, allocations: 35.94 kB / 0.7355 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.5691, allocations: 0.5574 MB / 0.736 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002583/0.5694, allocations: 278.9 kB / 0.7363 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.5697, allocations: 237.1 kB / 0.7365 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.5707, allocations: 1.029 MB / 0.7375 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5707, allocations: 0 / 0.7375 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5707, allocations: 0 / 0.7375 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.5707, allocations: 0 / 0.7375 GB, free: 2.047 MB / 0.5606 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.001927/0.5726, allocations: 1.327 MB / 0.7388 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.5727, allocations: 12.03 kB / 0.7388 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.5728, allocations: 98.45 kB / 0.7389 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006883/0.5735, allocations: 186.5 kB / 0.7391 GB, free: 368 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.5748, allocations: 0.804 MB / 0.7399 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.5748, allocations: 41 kB / 0.7399 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.849e-05/0.5749, allocations: 60 kB / 0.74 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.5761, allocations: 0.8278 MB / 0.7408 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.5761, allocations: 7.938 kB / 0.7408 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.634e-05/0.5761, allocations: 16 kB / 0.7408 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.5762, allocations: 16 kB / 0.7408 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008814/0.577, allocations: 0.5696 MB / 0.7414 GB, free: 13.89 MB / 0.5762 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.003805/0.5809, allocations: 4.262 MB / 0.7456 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007162/0.5816, allocations: 446.4 kB / 0.746 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004987/0.5821, allocations: 353.8 kB / 0.7463 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003119/0.5824, allocations: 194.2 kB / 0.7465 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005514/0.583, allocations: 327.1 kB / 0.7468 GB, free: 8 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003942/0.5834, allocations: 35.59 kB / 0.7469 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/0.5834, allocations: 0 / 0.7469 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.004626/0.588, allocations: 1.69 MB / 0.7485 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.5881, allocations: 89.09 kB / 0.7486 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.5895, allocations: 1.143 MB / 0.7497 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.5895, allocations: 41.69 kB / 0.7497 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/0.5899, allocations: 488.4 kB / 0.7502 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.394e-05/0.59, allocations: 114.4 kB / 0.7503 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.59, allocations: 8 kB / 0.7503 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.5901, allocations: 333.9 kB / 0.7506 GB, free: 4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003349/0.5905, allocations: 205 kB / 0.7508 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/0.591, allocations: 0.5228 MB / 0.7514 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004546/0.5915, allocations: 319.1 kB / 0.7517 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.5915, allocations: 8.109 kB / 0.7517 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001985/0.5935, allocations: 1.048 MB / 0.7527 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001543/0.5937, allocations: 275.2 kB / 0.753 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.5937, allocations: 11.95 kB / 0.753 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.5948, allocations: 340.5 kB / 0.7533 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.5952, allocations: 103.8 kB / 0.7534 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.5962, allocations: 1.042 MB / 0.7544 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007915/0.597, allocations: 87.81 kB / 0.7545 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/0.5971, allocations: 24 kB / 0.7545 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.234e-06/0.5971, allocations: 8 kB / 0.7545 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001326/0.5984, allocations: 0.7953 MB / 0.7553 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.5985, allocations: 4 kB / 0.7553 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005462/0.599, allocations: 253.7 kB / 0.7555 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.5993, allocations: 91.88 kB / 0.7556 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003369/0.6027, allocations: 3.055 MB / 0.7586 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008011/0.6035, allocations: 87.81 kB / 0.7587 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.6036, allocations: 24 kB / 0.7587 GB, free: 11.32 MB / 0.5919 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 () * Number of clocked 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.0005632/0.6042, allocations: 474.2 kB / 0.7592 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.6043, allocations: 102.7 kB / 0.7593 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.6056, allocations: 0.7849 MB / 0.76 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.6056, allocations: 7.938 kB / 0.76 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.6056, allocations: 192 / 0.76 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6056, allocations: 0 / 0.76 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/0.608, allocations: 1.74 MB / 0.7617 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.6081, allocations: 4 kB / 0.7617 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.6083, allocations: 56.17 kB / 0.7618 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004994/0.6088, allocations: 247 kB / 0.762 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.6088, allocations: 12 kB / 0.762 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008834/0.6097, allocations: 1.005 MB / 0.763 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/0.6098, allocations: 11.92 kB / 0.763 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.611, allocations: 0.8951 MB / 0.7639 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/0.6113, allocations: 223.8 kB / 0.7641 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.6115, allocations: 12 kB / 0.7641 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005787/0.612, allocations: 67.72 kB / 0.7642 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.151e-05/0.6121, allocations: 39.89 kB / 0.7642 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.6122, allocations: 12 kB / 0.7643 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009996/0.6132, allocations: 0.8119 MB / 0.765 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6132, allocations: 0 / 0.765 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001252/0.6144, allocations: 479.3 kB / 0.7655 GB, free: 4.184 MB / 0.5919 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) * Number of clocked states: 0 () * 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.001603/0.616, allocations: 1.423 MB / 0.7669 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00193/0.618, allocations: 1.131 MB / 0.768 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.618, allocations: 0 / 0.768 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005061/0.6185, allocations: 255.4 kB / 0.7682 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002823/0.6214, allocations: 0.6403 MB / 0.7689 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/0.6334, allocations: 6.801 MB / 0.7755 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007825/0.6342, allocations: 1.185 MB / 0.7767 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001021/0.6353, allocations: 348.1 kB / 0.777 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003892/0.6357, allocations: 327.3 kB / 0.7773 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.6357, allocations: 0 / 0.7773 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05199/0.6877, allocations: 30.68 MB / 0.8073 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003527/0.6881, allocations: 270 kB / 0.8075 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.269/2.957, allocations: 0 / 0.8075 GB, free: 9.172 MB / 0.6387 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) Environment - environmentSimulation: