Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example3.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.Example3,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example3,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example3",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.001139/0.001139, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7473/0.7473, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.36 kB / 0.5019 GB, free: 3.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3362, allocations: 80.19 MB / 0.5802 GB, free: 4.422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.03179/0.368, allocations: 32.74 MB / 0.6122 GB, free: 12.11 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01412/0.3821, allocations: 10.47 MB / 0.6224 GB, free: 3.645 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001465/0.3836, allocations: 48.06 kB / 0.6224 GB, free: 3.629 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.3856, allocations: 0.7377 MB / 0.6231 GB, free: 3.043 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003693/0.3893, allocations: 1.575 MB / 0.6247 GB, free: 1.793 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003133/0.3925, allocations: 1.4 MB / 0.6261 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005165/0.3976, allocations: 4.875 MB / 0.6308 GB, free: 13.44 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002425/0.4001, allocations: 2.062 MB / 0.6328 GB, free: 11.35 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003509/0.4036, allocations: 1.896 MB / 0.6347 GB, free: 9.445 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/0.4054, allocations: 1.361 MB / 0.636 GB, free: 8.078 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002808/0.4057, allocations: 140 kB / 0.6361 GB, free: 7.941 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002392/0.4081, allocations: 1.162 MB / 0.6373 GB, free: 6.777 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000457/0.4085, allocations: 474.2 kB / 0.6377 GB, free: 6.312 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.4097, allocations: 1.003 MB / 0.6387 GB, free: 5.305 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003392/0.4131, allocations: 2.913 MB / 0.6416 GB, free: 2.383 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4131, allocations: 0 / 0.6416 GB, free: 2.383 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4131, allocations: 0 / 0.6416 GB, free: 2.383 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.282e-05/0.4131, allocations: 0 / 0.6416 GB, free: 2.383 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.003541/0.4167, allocations: 2.376 MB / 0.6439 GB, free: 15.94 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.4167, allocations: 12.03 kB / 0.6439 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001809/0.4169, allocations: 152 kB / 0.644 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.4181, allocations: 302.1 kB / 0.6443 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.4207, allocations: 1.613 MB / 0.6459 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.389e-05/0.4208, allocations: 78 kB / 0.646 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.421, allocations: 104 kB / 0.6461 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.423, allocations: 1.291 MB / 0.6473 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.423, allocations: 0 / 0.6473 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.784e-05/0.4231, allocations: 40 kB / 0.6474 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/0.4232, allocations: 24 kB / 0.6474 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.4251, allocations: 0.9795 MB / 0.6483 GB, free: 11.22 MB / 494.1 MB 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.006986/0.4321, allocations: 6.522 MB / 0.6547 GB, free: 4.277 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.4333, allocations: 0.5883 MB / 0.6553 GB, free: 3.684 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006686/0.434, allocations: 393.1 kB / 0.6557 GB, free: 3.301 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002355/0.4364, allocations: 1.692 MB / 0.6573 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007347/0.4371, allocations: 355.2 kB / 0.6577 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003509/0.4375, allocations: 75.41 kB / 0.6577 GB, free: 1.035 MB / 494.1 MB Notification: Performance of pre-optimization done (n=45): time 2.094e-06/0.4375, allocations: 0 / 0.6577 GB, free: 1.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=45): time 0.003338/0.4409, allocations: 1.317 MB / 0.659 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.4409, allocations: 59.41 kB / 0.6591 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.443, allocations: 1.796 MB / 0.6608 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.174e-05/0.443, allocations: 41.7 kB / 0.6609 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006639/0.4437, allocations: 0.8538 MB / 0.6617 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.4439, allocations: 153.8 kB / 0.6618 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/0.4441, allocations: 198.3 kB / 0.662 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4442, allocations: 341.9 kB / 0.6624 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006532/0.4449, allocations: 312.6 kB / 0.6627 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008896/0.4458, allocations: 0.7441 MB / 0.6634 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.4473, allocations: 0.9837 MB / 0.6643 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.4473, allocations: 4 kB / 0.6643 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002556/0.4499, allocations: 1.3 MB / 0.6656 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/0.4499, allocations: 33.7 kB / 0.6657 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.4499, allocations: 12 kB / 0.6657 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006737/0.4506, allocations: 201.4 kB / 0.6659 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006319/0.4513, allocations: 167.7 kB / 0.666 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006199/0.4519, allocations: 0.7629 MB / 0.6668 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008449/0.4527, allocations: 48.62 kB / 0.6668 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.529e-05/0.4529, allocations: 43.98 kB / 0.6668 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001072/0.4539, allocations: 0.7141 MB / 0.6675 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000772/0.4547, allocations: 0.7089 MB / 0.6682 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001232/0.456, allocations: 0.9288 MB / 0.6691 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.977e-06/0.456, allocations: 0 / 0.6691 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002069/0.458, allocations: 1.268 MB / 0.6704 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.4581, allocations: 42.44 kB / 0.6704 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.4581, allocations: 12 kB / 0.6704 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002249/0.4583, allocations: 120.5 kB / 0.6705 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005702/0.4589, allocations: 167.7 kB / 0.6707 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.461, allocations: 2.322 MB / 0.673 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008012/0.4618, allocations: 56.56 kB / 0.673 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/0.4619, allocations: 43.98 kB / 0.6731 GB, free: 272 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * Array equations: 1 * 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 {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002343/0.4621, allocations: 240 kB / 0.6733 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002281/0.4624, allocations: 174 kB / 0.6735 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/0.4644, allocations: 0.9973 MB / 0.6744 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.4644, allocations: 7.938 kB / 0.6744 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.4644, allocations: 4 kB / 0.6745 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001513/0.466, allocations: 0.9467 MB / 0.6754 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003218/0.4692, allocations: 2.108 MB / 0.6774 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.4692, allocations: 0 / 0.6774 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004452/0.4697, allocations: 87.8 kB / 0.6775 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002851/0.47, allocations: 128.8 kB / 0.6776 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.252e-05/0.47, allocations: 19.98 kB / 0.6777 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005398/0.4706, allocations: 0.7351 MB / 0.6784 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4706, allocations: 0 / 0.6784 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.4729, allocations: 1.349 MB / 0.6797 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004133/0.4733, allocations: 302.8 kB / 0.68 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.4735, allocations: 15.94 kB / 0.68 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006161/0.4742, allocations: 39.97 kB / 0.68 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-05/0.4743, allocations: 36.38 kB / 0.6801 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.389e-05/0.4743, allocations: 23.98 kB / 0.6801 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001486/0.4758, allocations: 1.243 MB / 0.6813 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4758, allocations: 0 / 0.6813 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001895/0.4777, allocations: 0.7838 MB / 0.6821 GB, free: 6.781 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003147/0.4809, allocations: 2.11 MB / 0.6841 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002741/0.4836, allocations: 1.528 MB / 0.6856 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4837, allocations: 4 kB / 0.6856 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006784/0.4843, allocations: 330.2 kB / 0.6859 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003114/0.4875, allocations: 0.7726 MB / 0.6867 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01766/0.5051, allocations: 13.47 MB / 0.6999 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009863/0.5062, allocations: 1.495 MB / 0.7013 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001615/0.5078, allocations: 454 kB / 0.7018 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007522/0.5086, allocations: 0.6593 MB / 0.7024 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/0.5086, allocations: 0 / 0.7024 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07773/0.5863, allocations: 45.68 MB / 0.747 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.62, allocations: 6.75 kB / 0.747 GB, free: 3.859 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example3.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Examples.Performance.Example3_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IDEAS_IDEAS_Fluid_Examples_Performance_Example3.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)