Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",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.001408/0.001408, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001747/0.001747, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.604/2.604, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.855/1.855, allocations: 135.2 MB / 426.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005621/0.0005622, allocations: 8 kB / 0.5069 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2932, allocations: 82.31 MB / 0.5873 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.8482/1.141, allocations: 140.5 MB / 0.7245 GB, free: 8.371 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01255/1.154, allocations: 3.605 MB / 0.728 GB, free: 5.863 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/1.155, allocations: 13.34 kB / 0.728 GB, free: 5.855 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001854/1.157, allocations: 241.2 kB / 0.7282 GB, free: 5.719 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005288/1.163, allocations: 0.7039 MB / 0.7289 GB, free: 5.289 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003745/1.166, allocations: 480.9 kB / 0.7294 GB, free: 5.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005553/1.172, allocations: 1.647 MB / 0.731 GB, free: 4.246 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00765/1.18, allocations: 2.318 MB / 0.7332 GB, free: 3.422 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004598/1.184, allocations: 0.8581 MB / 0.7341 GB, free: 3.012 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002411/1.187, allocations: 0.6037 MB / 0.7347 GB, free: 2.758 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003926/1.187, allocations: 49.66 kB / 0.7347 GB, free: 2.758 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002858/1.19, allocations: 458.4 kB / 0.7351 GB, free: 2.645 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000809/1.191, allocations: 305.6 kB / 0.7354 GB, free: 2.523 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001156/1.192, allocations: 253.1 kB / 0.7357 GB, free: 2.391 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003808/1.196, allocations: 1.127 MB / 0.7368 GB, free: 2.137 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.196, allocations: 0 / 0.7368 GB, free: 2.137 MB / 0.545 GB Notification: Performance of FrontEnd: time 5.581e-06/1.196, allocations: 3.938 kB / 0.7368 GB, free: 2.133 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.483e-05/1.196, allocations: 0 / 0.7368 GB, free: 2.133 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.006593/1.203, allocations: 1.503 MB / 0.7382 GB, free: 1.203 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.931e-05/1.203, allocations: 9.469 kB / 0.7383 GB, free: 1.203 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004399/1.203, allocations: 98.03 kB / 0.7384 GB, free: 1.133 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/1.205, allocations: 207.5 kB / 0.7385 GB, free: 1.027 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003587/1.209, allocations: 0.8734 MB / 0.7394 GB, free: 248 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.582e-05/1.209, allocations: 45.31 kB / 0.7394 GB, free: 204 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/1.209, allocations: 64 kB / 0.7395 GB, free: 140 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002919/1.212, allocations: 0.9913 MB / 0.7405 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.893e-05/1.212, allocations: 7.938 kB / 0.7405 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/1.212, allocations: 23.94 kB / 0.7405 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/1.212, allocations: 19.98 kB / 0.7405 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/1.214, allocations: 0.8053 MB / 0.7413 GB, free: 14.5 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.008521/1.223, allocations: 4.801 MB / 0.746 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003707/1.227, allocations: 4.026 MB / 0.7499 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/1.227, allocations: 20.19 kB / 0.75 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009183/1.228, allocations: 330 kB / 0.7503 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000844/1.229, allocations: 35.69 kB / 0.7503 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 3.276e-06/1.229, allocations: 0 / 0.7503 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.0082/1.237, allocations: 1.745 MB / 0.752 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1.237, allocations: 106.8 kB / 0.7521 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002766/1.24, allocations: 1.181 MB / 0.7533 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001566/1.24, allocations: 41.7 kB / 0.7533 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007168/1.241, allocations: 0.5158 MB / 0.7538 GB, free: 460 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/1.241, allocations: 122.4 kB / 0.7539 GB, free: 336 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/1.241, allocations: 4 kB / 0.7539 GB, free: 332 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001937/1.241, allocations: 330 kB / 0.7542 GB, free: 16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005872/1.242, allocations: 209 kB / 0.7544 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009309/1.243, allocations: 0.5298 MB / 0.755 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007284/1.243, allocations: 319 kB / 0.7553 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/1.243, allocations: 0 / 0.7553 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003546/1.247, allocations: 1.095 MB / 0.7563 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.001213/1.248, allocations: 2.142 MB / 0.7584 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/1.248, allocations: 4 kB / 0.7584 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001852/1.25, allocations: 374.7 kB / 0.7588 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/1.251, allocations: 72.34 kB / 0.7588 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/1.253, allocations: 1.055 MB / 0.7599 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/1.255, allocations: 99.81 kB / 0.76 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/1.255, allocations: 31.92 kB / 0.76 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/1.255, allocations: 6.5 kB / 0.76 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002417/1.257, allocations: 0.8063 MB / 0.7608 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/1.257, allocations: 8 kB / 0.7608 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/1.258, allocations: 269.1 kB / 0.7611 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/1.259, allocations: 75.88 kB / 0.7611 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006868/1.266, allocations: 3.184 MB / 0.7642 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006265/1.272, allocations: 107.8 kB / 0.7643 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002177/1.272, allocations: 24 kB / 0.7644 GB, free: 5.137 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.00143/1.274, allocations: 472.7 kB / 0.7648 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005356/1.274, allocations: 110.7 kB / 0.7649 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/1.277, allocations: 0.7919 MB / 0.7657 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/1.277, allocations: 4 kB / 0.7657 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.277, allocations: 0 / 0.7657 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/1.277, allocations: 11.92 kB / 0.7657 GB, free: 3.738 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 postOpt removeSimpleEquations (simulation): time 0.006324/1.284, allocations: 2.241 MB / 0.7679 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/1.284, allocations: 4.219 kB / 0.7679 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/1.284, allocations: 47.89 kB / 0.768 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008086/1.285, allocations: 216.5 kB / 0.7682 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-05/1.285, allocations: 11.98 kB / 0.7682 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/1.286, allocations: 0.8784 MB / 0.769 GB, free: 180 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/1.286, allocations: 4.031 kB / 0.769 GB, free: 176 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002634/1.289, allocations: 0.9761 MB / 0.77 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/1.29, allocations: 239.6 kB / 0.7702 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004964/1.291, allocations: 15.94 kB / 0.7702 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/1.292, allocations: 83.75 kB / 0.7703 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/1.293, allocations: 35.94 kB / 0.7703 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.322e-05/1.293, allocations: 12 kB / 0.7704 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002585/1.295, allocations: 0.8289 MB / 0.7712 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.91e-07/1.295, allocations: 0 / 0.7712 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003734/1.299, allocations: 0.4994 MB / 0.7717 GB, free: 13.39 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 (22): * Single equations (assignments): 19 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.004182/1.303, allocations: 1.972 MB / 0.7736 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003466/1.307, allocations: 1.135 MB / 0.7747 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.307, allocations: 0 / 0.7747 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007751/1.307, allocations: 275.6 kB / 0.775 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005866/1.313, allocations: 0.6496 MB / 0.7756 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02991/1.343, allocations: 10.35 MB / 0.7857 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00169/1.345, allocations: 1.232 MB / 0.7869 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002082/1.347, allocations: 332.6 kB / 0.7872 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000885/1.348, allocations: 355.3 kB / 0.7876 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of SimCode: time 2.023e-06/1.348, allocations: 0 / 0.7876 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.115/1.463, allocations: 31.58 MB / 0.8184 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003717/1.464, allocations: 271 kB / 0.8187 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.727/6.191, allocations: 0 / 0.8187 GB, free: 13.19 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) Environment - environmentSimulation: