Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow",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.001044/0.001043, allocations: 92 kB / 15.06 MB, free: 1.098 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.001431/0.001431, allocations: 172.7 kB / 15.95 MB, free: 208 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.357/1.357, allocations: 223.3 MB / 240 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9455/0.9455, allocations: 135.3 MB / 426.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.0003041, allocations: 11.94 kB / 0.5071 GB, free: 5.051 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1471, allocations: 82.32 MB / 0.5875 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.4079/0.555, allocations: 146.7 MB / 0.7308 GB, free: 3.207 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003207/0.5583, allocations: 1.654 MB / 0.7324 GB, free: 2.051 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003177/0.5586, allocations: 8.719 kB / 0.7324 GB, free: 2.047 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004737/0.5591, allocations: 112.8 kB / 0.7325 GB, free: 1.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.5603, allocations: 391 kB / 0.7329 GB, free: 1.773 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.5614, allocations: 331.6 kB / 0.7332 GB, free: 1.625 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003166/0.5646, allocations: 3.009 MB / 0.7361 GB, free: 500 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002655/0.5672, allocations: 2.148 MB / 0.7382 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00189/0.5691, allocations: 0.8598 MB / 0.7391 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.5704, allocations: 0.7023 MB / 0.7397 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001967/0.5706, allocations: 35.19 kB / 0.7398 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.5722, allocations: 0.5661 MB / 0.7403 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004447/0.5727, allocations: 280.3 kB / 0.7406 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005543/0.5732, allocations: 229.5 kB / 0.7408 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.5746, allocations: 1.037 MB / 0.7418 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5746, allocations: 0 / 0.7418 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5746, allocations: 0 / 0.7418 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.411e-05/0.5746, allocations: 0 / 0.7418 GB, free: 13.83 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.002315/0.577, allocations: 1.333 MB / 0.7431 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.577, allocations: 9.344 kB / 0.7431 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001604/0.5772, allocations: 99.44 kB / 0.7432 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000816/0.578, allocations: 185.2 kB / 0.7434 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.5794, allocations: 0.8036 MB / 0.7442 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/0.5795, allocations: 46.55 kB / 0.7442 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.223e-05/0.5796, allocations: 63.94 kB / 0.7443 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.5808, allocations: 0.821 MB / 0.7451 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.5808, allocations: 4 kB / 0.7451 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/0.5809, allocations: 23.98 kB / 0.7451 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.5809, allocations: 23.94 kB / 0.7451 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009762/0.5819, allocations: 0.5618 MB / 0.7457 GB, free: 10.8 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.004157/0.586, allocations: 4.265 MB / 0.7499 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007289/0.5868, allocations: 454.3 kB / 0.7503 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004982/0.5873, allocations: 354.2 kB / 0.7506 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000304/0.5876, allocations: 194.2 kB / 0.7508 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005559/0.5882, allocations: 328.2 kB / 0.7511 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002675/0.5884, allocations: 31.59 kB / 0.7512 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.084e-06/0.5885, allocations: 0 / 0.7512 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.004627/0.5931, allocations: 1.579 MB / 0.7527 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.5932, allocations: 85.05 kB / 0.7528 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.5946, allocations: 1.147 MB / 0.7539 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.474e-05/0.5947, allocations: 33.7 kB / 0.7539 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/0.5951, allocations: 488.4 kB / 0.7544 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.863e-05/0.5952, allocations: 118.4 kB / 0.7545 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.5953, allocations: 12 kB / 0.7545 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.5954, allocations: 325.9 kB / 0.7548 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003693/0.5958, allocations: 205 kB / 0.755 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005904/0.5964, allocations: 0.5228 MB / 0.7555 GB, free: 188 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004894/0.5969, allocations: 322.9 kB / 0.7558 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5969, allocations: 0 / 0.7558 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002238/0.5991, allocations: 1.049 MB / 0.7569 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001729/0.5993, allocations: 275 kB / 0.7571 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.5993, allocations: 11.95 kB / 0.7571 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/0.6007, allocations: 395.3 kB / 0.7575 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.6011, allocations: 99.97 kB / 0.7576 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.6025, allocations: 1.113 MB / 0.7587 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008653/0.6033, allocations: 91.75 kB / 0.7588 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-05/0.6034, allocations: 27.98 kB / 0.7588 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.453e-06/0.6034, allocations: 4 kB / 0.7588 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001433/0.6049, allocations: 0.7942 MB / 0.7596 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.6049, allocations: 4 kB / 0.7596 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005711/0.6055, allocations: 241.2 kB / 0.7598 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.6058, allocations: 92.06 kB / 0.7599 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003941/0.6098, allocations: 3.075 MB / 0.7629 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009365/0.6107, allocations: 87.84 kB / 0.763 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.658e-05/0.6108, allocations: 31.98 kB / 0.763 GB, free: 8.227 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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007187/0.6115, allocations: 465.8 kB / 0.7635 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/0.6118, allocations: 106.6 kB / 0.7636 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.6133, allocations: 0.7929 MB / 0.7644 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.6133, allocations: 4 kB / 0.7644 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.6133, allocations: 0 / 0.7644 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.6133, allocations: 4 kB / 0.7644 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002785/0.6161, allocations: 1.733 MB / 0.7661 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.6161, allocations: 0 / 0.7661 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.6164, allocations: 67.89 kB / 0.7661 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005211/0.6169, allocations: 277 kB / 0.7664 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.617, allocations: 8 kB / 0.7664 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.6181, allocations: 1.032 MB / 0.7674 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.6181, allocations: 8.031 kB / 0.7674 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.6195, allocations: 0.8994 MB / 0.7683 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004497/0.62, allocations: 231.7 kB / 0.7685 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.6202, allocations: 8 kB / 0.7685 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006551/0.6208, allocations: 63.86 kB / 0.7686 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.754e-05/0.6209, allocations: 35.84 kB / 0.7686 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.6209, allocations: 8 kB / 0.7686 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00116/0.6221, allocations: 0.8119 MB / 0.7694 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6221, allocations: 4 kB / 0.7694 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001469/0.6236, allocations: 475.4 kB / 0.7699 GB, free: 1.031 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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00173/0.6253, allocations: 1.435 MB / 0.7713 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002644/0.628, allocations: 1.257 MB / 0.7725 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.628, allocations: 0 / 0.7725 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006522/0.6287, allocations: 304.2 kB / 0.7728 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003147/0.6318, allocations: 0.6365 MB / 0.7734 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/0.6452, allocations: 6.915 MB / 0.7802 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008767/0.6461, allocations: 1.189 MB / 0.7813 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001137/0.6473, allocations: 344.1 kB / 0.7817 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004856/0.6478, allocations: 327.3 kB / 0.782 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of SimCode: time 8.11e-07/0.6478, allocations: 0 / 0.782 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05535/0.7032, allocations: 30.38 MB / 0.8116 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/0.7034, allocations: 265.5 kB / 0.8119 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.265/2.968, allocations: 0 / 0.8119 GB, free: 5.941 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1) Environment - environmentSimulation: