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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008757/0.0008759, allocations: 87.03 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.0009102/0.0009104, 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.389/1.389, 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-master/package.mo): time 0.9071/0.9071, allocations: 135.3 MB / 426.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002963/0.0002963, allocations: 8 kB / 0.5071 GB, free: 5.027 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1459, allocations: 82.32 MB / 0.5875 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.4136/0.5596, allocations: 146.7 MB / 0.7308 GB, free: 3.102 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002903/0.5625, allocations: 1.654 MB / 0.7324 GB, free: 1.945 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003143/0.5629, allocations: 9.156 kB / 0.7324 GB, free: 1.941 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004715/0.5633, allocations: 113.9 kB / 0.7325 GB, free: 1.875 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.5647, allocations: 395.7 kB / 0.7329 GB, free: 1.664 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.566, allocations: 326.2 kB / 0.7332 GB, free: 1.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003755/0.5698, allocations: 3.009 MB / 0.7361 GB, free: 392 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002896/0.5727, allocations: 2.151 MB / 0.7382 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001814/0.5745, allocations: 0.8647 MB / 0.7391 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009444/0.5755, allocations: 0.6997 MB / 0.7397 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.862e-05/0.5756, allocations: 33.03 kB / 0.7398 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.5768, allocations: 0.5597 MB / 0.7403 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002907/0.5771, allocations: 283 kB / 0.7406 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002882/0.5774, allocations: 230.5 kB / 0.7408 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.5784, allocations: 1.035 MB / 0.7418 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5785, allocations: 0.625 kB / 0.7418 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.517e-06/0.5785, allocations: 0 / 0.7418 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.5785, allocations: 5.625 kB / 0.7418 GB, free: 13.77 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.001907/0.5804, allocations: 1.334 MB / 0.7431 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.5804, allocations: 13.72 kB / 0.7431 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.5805, allocations: 95.8 kB / 0.7432 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006762/0.5812, allocations: 184.2 kB / 0.7434 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.5825, allocations: 0.8008 MB / 0.7442 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.5825, allocations: 50.17 kB / 0.7442 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.352e-05/0.5826, allocations: 56.38 kB / 0.7443 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.5837, allocations: 0.8284 MB / 0.7451 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.5837, allocations: 4 kB / 0.7451 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.964e-05/0.5838, allocations: 20 kB / 0.7451 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.5838, allocations: 16 kB / 0.7451 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009332/0.5848, allocations: 0.5735 MB / 0.7457 GB, free: 10.74 MB / 0.5606 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.003712/0.5885, allocations: 4.258 MB / 0.7499 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000716/0.5892, allocations: 456.4 kB / 0.7503 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004818/0.5897, allocations: 348.2 kB / 0.7506 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002698/0.59, allocations: 194.4 kB / 0.7508 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005016/0.5905, allocations: 324.1 kB / 0.7511 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001999/0.5907, allocations: 35.59 kB / 0.7512 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 4.238e-06/0.5907, allocations: 4.094 kB / 0.7512 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.004656/0.5954, allocations: 1.691 MB / 0.7528 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.5954, allocations: 85.09 kB / 0.7529 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.5968, allocations: 1.147 MB / 0.754 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.5968, allocations: 37.7 kB / 0.754 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003935/0.5972, allocations: 484.4 kB / 0.7545 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.65e-05/0.5973, allocations: 114.4 kB / 0.7546 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.5974, allocations: 8 kB / 0.7546 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.5975, allocations: 333.9 kB / 0.7549 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00036/0.5979, allocations: 209 kB / 0.7551 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005749/0.5984, allocations: 0.5228 MB / 0.7557 GB, free: 24 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000468/0.5989, allocations: 315 kB / 0.756 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.599, allocations: 8 kB / 0.756 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002068/0.601, allocations: 1.041 MB / 0.757 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000169/0.6012, allocations: 271.3 kB / 0.7572 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.6012, allocations: 8 kB / 0.7572 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.6024, allocations: 355.2 kB / 0.7576 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.6028, allocations: 99.88 kB / 0.7577 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.6038, allocations: 1.04 MB / 0.7587 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008356/0.6047, allocations: 87.81 kB / 0.7588 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.231e-05/0.6047, allocations: 31.98 kB / 0.7588 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.6048, allocations: 4 kB / 0.7588 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00136/0.6061, allocations: 0.7904 MB / 0.7596 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.6061, allocations: 7.938 kB / 0.7596 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005734/0.6067, allocations: 255.3 kB / 0.7598 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.6071, allocations: 103.8 kB / 0.7599 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003533/0.6106, allocations: 3.04 MB / 0.7629 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008039/0.6114, allocations: 87.81 kB / 0.763 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/0.6115, allocations: 24 kB / 0.763 GB, free: 8.211 MB / 0.5762 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.0005276/0.612, allocations: 477.2 kB / 0.7635 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.6122, allocations: 106.6 kB / 0.7636 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.6136, allocations: 0.793 MB / 0.7643 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.6136, allocations: 4 kB / 0.7643 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.6136, allocations: 0 / 0.7643 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.6136, allocations: 3.984 kB / 0.7644 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/0.6161, allocations: 1.725 MB / 0.766 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.6161, allocations: 7.953 kB / 0.766 GB, free: 5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.6164, allocations: 72.03 kB / 0.7661 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004914/0.6169, allocations: 237.6 kB / 0.7663 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.6169, allocations: 8 kB / 0.7663 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009374/0.6179, allocations: 1.012 MB / 0.7673 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.6179, allocations: 4.031 kB / 0.7673 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.6192, allocations: 0.8954 MB / 0.7682 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003568/0.6195, allocations: 231.8 kB / 0.7684 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.6196, allocations: 8 kB / 0.7684 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005785/0.6202, allocations: 63.77 kB / 0.7685 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-05/0.6203, allocations: 39.91 kB / 0.7685 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.6204, allocations: 12 kB / 0.7686 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001038/0.6214, allocations: 0.8119 MB / 0.7693 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3e-07/0.6214, allocations: 0 / 0.7693 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001334/0.6228, allocations: 471.4 kB / 0.7698 GB, free: 1.066 MB / 0.5762 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.001715/0.6245, allocations: 1.434 MB / 0.7712 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002041/0.6266, allocations: 1.139 MB / 0.7723 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6266, allocations: 0 / 0.7723 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000525/0.6271, allocations: 265.8 kB / 0.7726 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002918/0.6301, allocations: 0.6272 MB / 0.7732 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.6422, allocations: 6.814 MB / 0.7798 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000709/0.6429, allocations: 1.185 MB / 0.781 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001059/0.644, allocations: 336.1 kB / 0.7813 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004294/0.6444, allocations: 323.3 kB / 0.7816 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of SimCode: time 1.212e-06/0.6444, allocations: 0 / 0.7816 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05087/0.6953, allocations: 30.68 MB / 0.8116 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/0.6955, allocations: 283.6 kB / 0.8118 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/3.083, allocations: 0 / 0.8118 GB, free: 6.004 MB / 0.6231 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) Environment - environmentSimulation: