Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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.0007928/0.0007928, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004944/0.004944, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9147/0.9147, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004248/0.0004248, allocations: 16.66 kB / 0.5077 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1455, allocations: 82.31 MB / 0.5881 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.3734/0.519, allocations: 157.3 MB / 0.7417 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002875/0.5219, allocations: 1.751 MB / 0.7434 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003113/0.5222, allocations: 9.438 kB / 0.7434 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004852/0.5227, allocations: 143.3 kB / 0.7435 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.524, allocations: 0.4885 MB / 0.744 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009905/0.525, allocations: 351.5 kB / 0.7443 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002954/0.528, allocations: 3.477 MB / 0.7477 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009372/0.5289, allocations: 0.7461 MB / 0.7485 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/0.5303, allocations: 0.8984 MB / 0.7493 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008962/0.5312, allocations: 0.7254 MB / 0.75 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.953e-05/0.5313, allocations: 34.56 kB / 0.7501 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.5325, allocations: 0.8047 MB / 0.7509 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.5328, allocations: 275.5 kB / 0.7511 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005329/0.5333, allocations: 0.5368 MB / 0.7516 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.5345, allocations: 1.362 MB / 0.753 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.5345, allocations: 0 / 0.753 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5345, allocations: 0 / 0.753 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.02e-05/0.5346, allocations: 0 / 0.753 GB, free: 3.586 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.001845/0.5364, allocations: 1.261 MB / 0.7542 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.5365, allocations: 15.97 kB / 0.7542 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.5366, allocations: 94.52 kB / 0.7543 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006865/0.5373, allocations: 190.5 kB / 0.7545 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.5383, allocations: 0.8022 MB / 0.7553 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/0.5384, allocations: 41 kB / 0.7553 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.518e-05/0.5385, allocations: 64 kB / 0.7554 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.5395, allocations: 0.7966 MB / 0.7562 GB, free: 144 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.5395, allocations: 3.938 kB / 0.7562 GB, free: 144 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.5396, allocations: 20 kB / 0.7562 GB, free: 124 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.5396, allocations: 12 kB / 0.7562 GB, free: 112 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008767/0.5405, allocations: 0.5539 MB / 0.7567 GB, free: 15.55 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.003453/0.5439, allocations: 4.595 MB / 0.7612 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006695/0.5446, allocations: 423.8 kB / 0.7616 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003669/0.545, allocations: 254.4 kB / 0.7619 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002427/0.5452, allocations: 190.2 kB / 0.762 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004437/0.5457, allocations: 298.3 kB / 0.7623 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 3.146e-06/0.5457, allocations: 0 / 0.7623 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001194/0.5469, allocations: 0.6548 MB / 0.763 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.547, allocations: 85.09 kB / 0.7631 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.5482, allocations: 1.114 MB / 0.7641 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.5482, allocations: 37.7 kB / 0.7642 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/0.5486, allocations: 497.1 kB / 0.7646 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.58e-05/0.5487, allocations: 114.4 kB / 0.7648 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.5487, allocations: 41.7 kB / 0.7648 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.443e-05/0.5488, allocations: 322 kB / 0.7651 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003532/0.5492, allocations: 212.7 kB / 0.7653 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/0.5498, allocations: 0.5253 MB / 0.7658 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008218/0.5506, allocations: 0.6425 MB / 0.7664 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.5506, allocations: 4 kB / 0.7665 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001066/0.5517, allocations: 0.7343 MB / 0.7672 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001534/0.5518, allocations: 276.5 kB / 0.7674 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.5519, allocations: 7.938 kB / 0.7674 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.5519, allocations: 15.98 kB / 0.7675 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/0.5536, allocations: 347 kB / 0.7678 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002981/0.5566, allocations: 6.095 MB / 0.7737 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005971/0.5572, allocations: 99.55 kB / 0.7738 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.382e-05/0.5572, allocations: 24 kB / 0.7739 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/0.5572, allocations: 4 kB / 0.7739 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008333/0.5581, allocations: 0.5408 MB / 0.7744 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.5581, allocations: 4.656 kB / 0.7744 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.5581, allocations: 8 kB / 0.7744 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004991/0.5586, allocations: 159.8 kB / 0.7746 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.5586, allocations: 11.94 kB / 0.7746 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/0.5592, allocations: 91.53 kB / 0.7747 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.5592, allocations: 23.98 kB / 0.7747 GB, free: 12.12 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004059/0.5596, allocations: 480.2 kB / 0.7751 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.5597, allocations: 98.78 kB / 0.7752 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008208/0.5605, allocations: 0.4951 MB / 0.7757 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.5606, allocations: 4 kB / 0.7757 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.5606, allocations: 0 / 0.7757 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5606, allocations: 0 / 0.7757 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.5623, allocations: 1.403 MB / 0.7771 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.5623, allocations: 4 kB / 0.7771 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005498/0.5629, allocations: 148 kB / 0.7772 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.5629, allocations: 4 kB / 0.7772 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.5629, allocations: 11.94 kB / 0.7772 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/0.5655, allocations: 6.021 MB / 0.7831 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.5655, allocations: 7.969 kB / 0.7831 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007561/0.5663, allocations: 0.618 MB / 0.7837 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.5665, allocations: 219.8 kB / 0.7839 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-05/0.5666, allocations: 8 kB / 0.784 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/0.5671, allocations: 47.89 kB / 0.784 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.5672, allocations: 31.91 kB / 0.784 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.5672, allocations: 12 kB / 0.784 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008625/0.568, allocations: 0.7914 MB / 0.7848 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5681, allocations: 0 / 0.7848 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008964/0.569, allocations: 407.4 kB / 0.7852 GB, free: 0.9492 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001244/0.5702, allocations: 1.242 MB / 0.7864 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002717/0.5729, allocations: 1.103 MB / 0.7875 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5729, allocations: 0 / 0.7875 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007416/0.5737, allocations: 309.1 kB / 0.7878 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/0.5758, allocations: 448.3 kB / 0.7882 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/0.5878, allocations: 8.892 MB / 0.7969 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006519/0.5885, allocations: 1.18 MB / 0.798 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008771/0.5894, allocations: 379.7 kB / 0.7984 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003646/0.5897, allocations: 315.3 kB / 0.7987 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.5898, allocations: 0 / 0.7987 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4067/0.9965, allocations: 25.83 MB / 0.8239 GB, free: 9.164 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000352/0.9969, allocations: 273.2 kB / 0.8242 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/3.429, allocations: 0 / 0.8242 GB, free: 8.789 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)