Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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.001306/0.001306, allocations: 99.78 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.001751/0.001751, allocations: 177.3 kB / 15.94 MB, free: 228 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.12/2.12, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.441/1.441, allocations: 132.2 MB / 423.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000565/0.0005653, allocations: 20.47 kB / 0.5033 GB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8381/0.8387, allocations: 81.57 MB / 0.583 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.3131/1.152, allocations: 140.5 MB / 0.7201 GB, free: 3.707 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01062/1.163, allocations: 3.596 MB / 0.7237 GB, free: 112 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009965/1.164, allocations: 15.88 kB / 0.7237 GB, free: 96 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001243/1.165, allocations: 239 kB / 0.7239 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003498/1.169, allocations: 0.705 MB / 0.7246 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002078/1.171, allocations: 480.5 kB / 0.7251 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003387/1.174, allocations: 1.654 MB / 0.7267 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004069/1.178, allocations: 2.317 MB / 0.7289 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00248/1.181, allocations: 0.8605 MB / 0.7298 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001837/1.182, allocations: 0.5992 MB / 0.7304 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003318/1.183, allocations: 48 kB / 0.7304 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/1.185, allocations: 455.3 kB / 0.7308 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006449/1.186, allocations: 315 kB / 0.7311 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008222/1.186, allocations: 245.1 kB / 0.7314 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002165/1.189, allocations: 1.126 MB / 0.7325 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.189, allocations: 4 kB / 0.7325 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.595e-06/1.189, allocations: 0 / 0.7325 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.174e-05/1.189, allocations: 0 / 0.7325 GB, free: 7.055 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.004083/1.193, allocations: 1.495 MB / 0.7339 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.584e-05/1.193, allocations: 8.031 kB / 0.7339 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003199/1.193, allocations: 106.5 kB / 0.734 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/1.194, allocations: 210.3 kB / 0.7342 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002714/1.197, allocations: 0.8678 MB / 0.7351 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.485e-05/1.197, allocations: 49.3 kB / 0.7351 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/1.197, allocations: 64 kB / 0.7352 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/1.2, allocations: 0.9831 MB / 0.7362 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/1.2, allocations: 3.938 kB / 0.7362 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/1.2, allocations: 28 kB / 0.7362 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/1.2, allocations: 16 kB / 0.7362 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/1.201, allocations: 0.7999 MB / 0.737 GB, free: 2.234 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.006837/1.208, allocations: 4.816 MB / 0.7417 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003309/1.212, allocations: 4.029 MB / 0.7456 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.372e-05/1.212, allocations: 16.27 kB / 0.7456 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006776/1.212, allocations: 337.8 kB / 0.746 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005198/1.213, allocations: 27.69 kB / 0.746 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 4.788e-06/1.213, allocations: 0 / 0.746 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.005973/1.219, allocations: 1.695 MB / 0.7476 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.219, allocations: 114.8 kB / 0.7477 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/1.221, allocations: 1.173 MB / 0.7489 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.647e-05/1.221, allocations: 41.69 kB / 0.7489 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005529/1.222, allocations: 0.5159 MB / 0.7494 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/1.222, allocations: 118.4 kB / 0.7496 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/1.222, allocations: 12 kB / 0.7496 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.222, allocations: 326 kB / 0.7499 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004205/1.222, allocations: 205 kB / 0.7501 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007043/1.223, allocations: 0.5371 MB / 0.7506 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005667/1.224, allocations: 313.4 kB / 0.7509 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/1.224, allocations: 4 kB / 0.7509 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002701/1.226, allocations: 1.077 MB / 0.7519 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.001132/1.228, allocations: 2.143 MB / 0.754 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/1.228, allocations: 4 kB / 0.754 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001825/1.23, allocations: 439.6 kB / 0.7545 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004796/1.23, allocations: 75.83 kB / 0.7545 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/1.232, allocations: 1.13 MB / 0.7556 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/1.234, allocations: 103.7 kB / 0.7557 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-05/1.234, allocations: 24.11 kB / 0.7558 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/1.234, allocations: 7.938 kB / 0.7558 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001988/1.236, allocations: 0.8143 MB / 0.7566 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.236, allocations: 11.98 kB / 0.7566 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006703/1.237, allocations: 244.4 kB / 0.7568 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003408/1.237, allocations: 83.81 kB / 0.7569 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005367/1.242, allocations: 3.208 MB / 0.76 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/1.244, allocations: 95.81 kB / 0.7601 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.785e-05/1.244, allocations: 23.98 kB / 0.7601 GB, free: 8.758 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.001019/1.245, allocations: 480.7 kB / 0.7606 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/1.245, allocations: 106.7 kB / 0.7607 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/1.247, allocations: 0.7972 MB / 0.7615 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/1.247, allocations: 4 kB / 0.7615 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.247, allocations: 4 kB / 0.7615 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/1.247, allocations: 0 / 0.7615 GB, free: 7.355 MB / 0.5919 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.004849/1.252, allocations: 2.235 MB / 0.7637 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/1.252, allocations: 3.953 kB / 0.7637 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/1.252, allocations: 56.12 kB / 0.7637 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007723/1.253, allocations: 244.5 kB / 0.764 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/1.253, allocations: 12 kB / 0.764 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/1.255, allocations: 0.9384 MB / 0.7649 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/1.255, allocations: 3.984 kB / 0.7649 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/1.257, allocations: 0.9674 MB / 0.7658 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007096/1.257, allocations: 239.7 kB / 0.7661 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/1.257, allocations: 8 kB / 0.7661 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00099/1.258, allocations: 83.75 kB / 0.7661 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/1.259, allocations: 31.91 kB / 0.7662 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/1.259, allocations: 11.98 kB / 0.7662 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001722/1.26, allocations: 0.8289 MB / 0.767 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.21e-07/1.26, allocations: 0 / 0.767 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001898/1.262, allocations: 0.5032 MB / 0.7675 GB, free: 0.9336 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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002934/1.265, allocations: 1.981 MB / 0.7694 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003067/1.268, allocations: 1.3 MB / 0.7707 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.423e-06/1.268, allocations: 0 / 0.7707 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007543/1.269, allocations: 320.2 kB / 0.771 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003846/1.273, allocations: 0.6414 MB / 0.7716 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01857/1.292, allocations: 10.49 MB / 0.7819 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/1.293, allocations: 1.232 MB / 0.7831 GB, free: 500 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001395/1.294, allocations: 324.6 kB / 0.7834 GB, free: 172 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006253/1.295, allocations: 359.4 kB / 0.7837 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of SimCode: time 1.373e-06/1.295, allocations: 0 / 0.7837 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07107/1.366, allocations: 31.22 MB / 0.8142 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002625/1.367, allocations: 266.1 kB / 0.8145 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.766/5.132, allocations: 0 / 0.8145 GB, free: 0.7461 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) Environment - environmentSimulation: