Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SeriesFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="IDEAS_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.001201/0.001201, allocations: 99.55 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.001043/0.001044, 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.213/2.213, allocations: 223.2 MB / 239.9 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.296/1.296, allocations: 132.2 MB / 423.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003693, allocations: 12.55 kB / 0.5033 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6544/0.6548, allocations: 81.57 MB / 0.583 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.2411/0.896, allocations: 135.7 MB / 0.7155 GB, free: 8.492 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004659/0.9007, allocations: 1.668 MB / 0.7171 GB, free: 6.824 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004923/0.9013, allocations: 11.88 kB / 0.7171 GB, free: 6.812 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009102/0.9022, allocations: 175.2 kB / 0.7173 GB, free: 6.641 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.9045, allocations: 0.5053 MB / 0.7178 GB, free: 6.137 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.9064, allocations: 405.1 kB / 0.7182 GB, free: 5.746 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003055/0.9095, allocations: 1.497 MB / 0.7196 GB, free: 4.242 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/0.9111, allocations: 0.7032 MB / 0.7203 GB, free: 3.531 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001941/0.9131, allocations: 0.6968 MB / 0.721 GB, free: 2.832 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.9142, allocations: 0.49 MB / 0.7215 GB, free: 2.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.9144, allocations: 32 kB / 0.7215 GB, free: 2.309 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.9159, allocations: 415.4 kB / 0.7219 GB, free: 1.902 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005027/0.9165, allocations: 255.1 kB / 0.7222 GB, free: 1.652 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004942/0.917, allocations: 229.1 kB / 0.7224 GB, free: 1.422 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.9187, allocations: 0.9704 MB / 0.7233 GB, free: 460 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.9187, allocations: 0 / 0.7233 GB, free: 460 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.555e-06/0.9187, allocations: 7.938 kB / 0.7233 GB, free: 452 kB / 0.545 GB Notification: Performance of Transformations before backend: time 2.917e-05/0.9188, allocations: 0 / 0.7233 GB, free: 452 kB / 0.545 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.003749/0.9225, allocations: 1.28 MB / 0.7246 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.9226, allocations: 8.031 kB / 0.7246 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002266/0.9228, allocations: 98.5 kB / 0.7247 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/0.9243, allocations: 182.5 kB / 0.7249 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002604/0.9269, allocations: 0.8038 MB / 0.7256 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.73e-05/0.927, allocations: 41 kB / 0.7257 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.9271, allocations: 64 kB / 0.7257 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/0.9294, allocations: 0.7849 MB / 0.7265 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.9294, allocations: 7.938 kB / 0.7265 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-05/0.9295, allocations: 20 kB / 0.7265 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.9295, allocations: 19.94 kB / 0.7266 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.9314, allocations: 0.5383 MB / 0.7271 GB, free: 12.41 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.007584/0.939, allocations: 4.603 MB / 0.7316 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.9403, allocations: 437.5 kB / 0.732 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-05/0.9404, allocations: 12 kB / 0.732 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008737/0.9413, allocations: 301.6 kB / 0.7323 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.166e-06/0.9413, allocations: 4 kB / 0.7323 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.002313/0.9436, allocations: 0.6439 MB / 0.7329 GB, free: 6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.9437, allocations: 118.7 kB / 0.733 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002505/0.9462, allocations: 1.118 MB / 0.7341 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.9464, allocations: 33.7 kB / 0.7342 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006946/0.9471, allocations: 488.2 kB / 0.7346 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.9473, allocations: 110.5 kB / 0.7347 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.9473, allocations: 12.22 kB / 0.7347 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002078/0.9475, allocations: 322 kB / 0.7351 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005546/0.9481, allocations: 192.7 kB / 0.7352 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000921/0.949, allocations: 0.494 MB / 0.7357 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009003/0.9499, allocations: 291.1 kB / 0.736 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.95, allocations: 4 kB / 0.736 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001958/0.9519, allocations: 0.6835 MB / 0.7367 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.001247/0.9532, allocations: 2.133 MB / 0.7388 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.9532, allocations: 4 kB / 0.7388 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/0.9533, allocations: 12 kB / 0.7388 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003073/0.9564, allocations: 379.4 kB / 0.7391 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006137/0.9625, allocations: 6.087 MB / 0.7451 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.9641, allocations: 107.5 kB / 0.7452 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.9642, allocations: 27.94 kB / 0.7452 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.9643, allocations: 4 kB / 0.7452 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001486/0.9658, allocations: 0.5487 MB / 0.7457 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.9658, allocations: 4 kB / 0.7457 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.9658, allocations: 12 kB / 0.7458 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008888/0.9667, allocations: 164.2 kB / 0.7459 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/0.9668, allocations: 8 kB / 0.7459 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.9681, allocations: 95.52 kB / 0.746 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/0.9682, allocations: 24 kB / 0.746 GB, free: 7.953 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * 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 (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001009/0.9692, allocations: 468.7 kB / 0.7465 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003228/0.9695, allocations: 102.7 kB / 0.7466 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.971, allocations: 478.5 kB / 0.747 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.971, allocations: 4 kB / 0.747 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.971, allocations: 4.547 kB / 0.747 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.971, allocations: 4 kB / 0.747 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/0.9737, allocations: 1.099 MB / 0.7481 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.9738, allocations: 8.031 kB / 0.7481 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.9748, allocations: 151.7 kB / 0.7483 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.376e-05/0.9748, allocations: 4 kB / 0.7483 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.053e-05/0.9749, allocations: 11.98 kB / 0.7483 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00464/0.9795, allocations: 6.024 MB / 0.7542 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.9796, allocations: 4 kB / 0.7542 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.9813, allocations: 0.6308 MB / 0.7548 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007559/0.9821, allocations: 215.8 kB / 0.755 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/0.9823, allocations: 11.98 kB / 0.755 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007879/0.9831, allocations: 59.73 kB / 0.7551 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.9833, allocations: 39.89 kB / 0.7551 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-05/0.9833, allocations: 8 kB / 0.7551 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001804/0.9851, allocations: 0.7836 MB / 0.7559 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9852, allocations: 0 / 0.7559 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002016/0.9872, allocations: 411.4 kB / 0.7563 GB, free: 13.03 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 (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00269/0.9899, allocations: 1.718 MB / 0.7579 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004906/0.9948, allocations: 1.114 MB / 0.759 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/0.9949, allocations: 4 kB / 0.759 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.9962, allocations: 292.2 kB / 0.7593 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003333/0.9996, allocations: 456.5 kB / 0.7598 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02264/1.022, allocations: 9.604 MB / 0.7691 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/1.024, allocations: 1.2 MB / 0.7703 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001951/1.026, allocations: 371.5 kB / 0.7707 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006446/1.026, allocations: 311.3 kB / 0.771 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of SimCode: time 1.813e-06/1.026, allocations: 0 / 0.771 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08061/1.107, allocations: 26.36 MB / 0.7967 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003844/1.107, allocations: 249.8 kB / 0.7969 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.178/5.285, allocations: 0 / 0.7969 GB, free: 3.32 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) Environment - environmentSimulation: