Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp",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.0009146/0.0009147, 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.005863/0.005863, 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.337/1.337, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7636/0.7636, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002901/0.0002901, allocations: 11.98 kB / 0.5041 GB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3278, allocations: 81.57 MB / 0.5837 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1507/0.4786, allocations: 157.3 MB / 0.7374 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004039/0.4827, allocations: 3.588 MB / 0.7409 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.4829, allocations: 15.88 kB / 0.7409 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004269/0.4833, allocations: 135.2 kB / 0.741 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.4844, allocations: 0.4902 MB / 0.7415 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009145/0.4853, allocations: 395.8 kB / 0.7419 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002915/0.4882, allocations: 3.49 MB / 0.7453 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000845/0.4891, allocations: 0.7504 MB / 0.746 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.4903, allocations: 0.9064 MB / 0.7469 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007076/0.491, allocations: 0.7155 MB / 0.7476 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.802e-05/0.4911, allocations: 32 kB / 0.7476 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.4922, allocations: 0.799 MB / 0.7484 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002414/0.4925, allocations: 282.9 kB / 0.7487 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004755/0.493, allocations: 0.5416 MB / 0.7492 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.4942, allocations: 1.37 MB / 0.7505 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.4942, allocations: 0 / 0.7505 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4942, allocations: 0 / 0.7505 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.4942, allocations: 0 / 0.7505 GB, free: 4.898 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001729/0.496, allocations: 1.272 MB / 0.7518 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.496, allocations: 8.031 kB / 0.7518 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.561e-05/0.4961, allocations: 90.52 kB / 0.7519 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000686/0.4968, allocations: 186.4 kB / 0.752 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.4978, allocations: 0.8062 MB / 0.7528 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.667e-05/0.4979, allocations: 45 kB / 0.7529 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.428e-05/0.498, allocations: 56 kB / 0.7529 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.499, allocations: 0.7966 MB / 0.7537 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.4991, allocations: 7.938 kB / 0.7537 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.96e-05/0.4991, allocations: 20 kB / 0.7537 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.4991, allocations: 16 kB / 0.7537 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008602/0.5, allocations: 0.55 MB / 0.7543 GB, free: 0.8555 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.003439/0.5034, allocations: 4.595 MB / 0.7588 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006637/0.5041, allocations: 426.3 kB / 0.7592 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000365/0.5045, allocations: 248.7 kB / 0.7594 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002615/0.5048, allocations: 190.2 kB / 0.7596 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004613/0.5052, allocations: 305 kB / 0.7599 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.463e-06/0.5052, allocations: 0 / 0.7599 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.004693/0.5099, allocations: 1.678 MB / 0.7615 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.51, allocations: 85.11 kB / 0.7616 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.5112, allocations: 1.122 MB / 0.7627 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.5112, allocations: 37.7 kB / 0.7627 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000353/0.5116, allocations: 488.2 kB / 0.7632 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.659e-05/0.5117, allocations: 114.4 kB / 0.7633 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/0.5118, allocations: 41.7 kB / 0.7634 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.293e-05/0.5119, allocations: 322 kB / 0.7637 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/0.5122, allocations: 216.7 kB / 0.7639 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005708/0.5128, allocations: 0.5213 MB / 0.7644 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008413/0.5137, allocations: 0.637 MB / 0.765 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.5137, allocations: 4 kB / 0.765 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002005/0.5157, allocations: 1.053 MB / 0.766 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.5158, allocations: 291 kB / 0.7663 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.5159, allocations: 8.219 kB / 0.7663 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.5171, allocations: 387.5 kB / 0.7667 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.5173, allocations: 67.84 kB / 0.7667 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.5185, allocations: 1.087 MB / 0.7678 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006206/0.5191, allocations: 99.38 kB / 0.7679 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.726e-05/0.5192, allocations: 24.09 kB / 0.7679 GB, free: 2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.041e-06/0.5192, allocations: 11.94 kB / 0.7679 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001233/0.5204, allocations: 0.7201 MB / 0.7686 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.5205, allocations: 15.92 kB / 0.7687 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004852/0.5209, allocations: 218.8 kB / 0.7689 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.5212, allocations: 63.91 kB / 0.7689 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003317/0.5245, allocations: 2.997 MB / 0.7719 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005925/0.5251, allocations: 91.56 kB / 0.7719 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.5251, allocations: 24 kB / 0.772 GB, free: 13.71 MB / 0.6075 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004507/0.5256, allocations: 465.4 kB / 0.7724 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.5257, allocations: 106.7 kB / 0.7725 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.5269, allocations: 0.7102 MB / 0.7732 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.5269, allocations: 7.984 kB / 0.7732 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.5269, allocations: 4 kB / 0.7732 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.5269, allocations: 0 / 0.7732 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/0.5291, allocations: 1.619 MB / 0.7748 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5291, allocations: 0 / 0.7748 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.5292, allocations: 23.98 kB / 0.7748 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004706/0.5297, allocations: 259 kB / 0.7751 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.5298, allocations: 8 kB / 0.7751 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009081/0.5307, allocations: 1.035 MB / 0.7761 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5307, allocations: 8.031 kB / 0.7761 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.5318, allocations: 0.8299 MB / 0.7769 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.5321, allocations: 215.8 kB / 0.7771 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.703e-05/0.5322, allocations: 8 kB / 0.7771 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004667/0.5327, allocations: 51.89 kB / 0.7772 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/0.5328, allocations: 39.83 kB / 0.7772 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.5328, allocations: 11.94 kB / 0.7772 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000892/0.5337, allocations: 0.7955 MB / 0.778 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5337, allocations: 4 kB / 0.778 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001076/0.5348, allocations: 435.4 kB / 0.7784 GB, free: 6.914 MB / 0.6075 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001492/0.5363, allocations: 1.384 MB / 0.7798 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002274/0.5386, allocations: 1.209 MB / 0.7809 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.5386, allocations: 4 kB / 0.7809 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005927/0.5392, allocations: 288.1 kB / 0.7812 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/0.5413, allocations: 461 kB / 0.7817 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/0.5551, allocations: 9.504 MB / 0.7909 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006309/0.5557, allocations: 1.177 MB / 0.7921 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000776/0.5565, allocations: 307.9 kB / 0.7924 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003344/0.5568, allocations: 307.3 kB / 0.7927 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.5569, allocations: 4 kB / 0.7927 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.781/2.338, allocations: 27.01 MB / 0.8191 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/2.338, allocations: 278.7 kB / 0.8193 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.283/4.621, allocations: 0 / 0.8193 GB, free: 216.5 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)