Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.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.Movers.Examples.PumpExample,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpExample,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample",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.004701/0.004701, allocations: 99.95 kB / 15.73 MB, free: 6.059 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.001081/0.001081, allocations: 189.4 kB / 16.67 MB, free: 5.973 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.757/0.757, allocations: 135.1 MB / 425.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 59.25 kB / 0.5851 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1312, allocations: 80.92 MB / 0.6641 GB, free: 6.277 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.02861/0.1598, allocations: 30.67 MB / 0.6941 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01295/0.1728, allocations: 10.28 MB / 0.7041 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.1739, allocations: 43.75 kB / 0.7042 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001638/0.1756, allocations: 0.6991 MB / 0.7048 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003093/0.1787, allocations: 1.532 MB / 0.7063 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002674/0.1813, allocations: 1.333 MB / 0.7076 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003028/0.1844, allocations: 2.986 MB / 0.7106 GB, free: 6.586 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.1855, allocations: 0.9647 MB / 0.7115 GB, free: 5.609 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001942/0.1875, allocations: 1.195 MB / 0.7127 GB, free: 4.414 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008358/0.1883, allocations: 0.805 MB / 0.7135 GB, free: 3.605 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.1885, allocations: 104 kB / 0.7136 GB, free: 3.504 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.1899, allocations: 0.8036 MB / 0.7143 GB, free: 2.699 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003044/0.1902, allocations: 354.9 kB / 0.7147 GB, free: 2.352 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005358/0.1907, allocations: 0.6103 MB / 0.7153 GB, free: 1.738 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.1929, allocations: 1.985 MB / 0.7172 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1929, allocations: 0 / 0.7172 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1929, allocations: 0 / 0.7172 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.1929, allocations: 0 / 0.7172 GB, free: 15.75 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002282/0.1952, allocations: 1.579 MB / 0.7188 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1952, allocations: 9.109 kB / 0.7188 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001196/0.1953, allocations: 114.7 kB / 0.7189 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009601/0.1963, allocations: 215.9 kB / 0.7191 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.1981, allocations: 1.062 MB / 0.7201 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.112e-05/0.1982, allocations: 57.31 kB / 0.7202 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.1983, allocations: 64 kB / 0.7202 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.1995, allocations: 0.7332 MB / 0.7209 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.1995, allocations: 0 / 0.7209 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.238e-05/0.1996, allocations: 31.94 kB / 0.721 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/0.1996, allocations: 21.31 kB / 0.721 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.2007, allocations: 0.5321 MB / 0.7215 GB, free: 11.2 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.003725/0.2045, allocations: 3.183 MB / 0.7246 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.2056, allocations: 446.4 kB / 0.7251 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003939/0.206, allocations: 196.8 kB / 0.7252 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001801/0.2078, allocations: 1.54 MB / 0.7267 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004905/0.2083, allocations: 252.2 kB / 0.727 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 1.744e-06/0.2083, allocations: 0 / 0.727 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001306/0.2096, allocations: 0.5826 MB / 0.7276 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.2097, allocations: 59.41 kB / 0.7276 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.2107, allocations: 0.9374 MB / 0.7285 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.2108, allocations: 37.7 kB / 0.7286 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003903/0.2112, allocations: 0.5083 MB / 0.7291 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.2113, allocations: 130.9 kB / 0.7292 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001895/0.2115, allocations: 138.1 kB / 0.7293 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.2116, allocations: 322 kB / 0.7296 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/0.212, allocations: 211.1 kB / 0.7298 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005764/0.2126, allocations: 411.8 kB / 0.7302 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009532/0.2136, allocations: 0.5963 MB / 0.7308 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2136, allocations: 3.938 kB / 0.7308 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001266/0.2149, allocations: 0.7154 MB / 0.7315 GB, free: 356 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2149, allocations: 8 kB / 0.7315 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.2149, allocations: 8 kB / 0.7315 GB, free: 340 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.2149, allocations: 11.98 kB / 0.7315 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005477/0.2155, allocations: 148.1 kB / 0.7317 GB, free: 180 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.2155, allocations: 15.94 kB / 0.7317 GB, free: 164 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005329/0.216, allocations: 76.14 kB / 0.7318 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.565e-05/0.2161, allocations: 31.98 kB / 0.7318 GB, free: 56 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006071/0.2167, allocations: 413.2 kB / 0.7322 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004755/0.2172, allocations: 387.8 kB / 0.7325 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007803/0.218, allocations: 0.5614 MB / 0.7331 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.957e-06/0.218, allocations: 8 kB / 0.7331 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001056/0.2191, allocations: 0.6606 MB / 0.7338 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.2191, allocations: 8 kB / 0.7338 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.2191, allocations: 8 kB / 0.7338 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.565e-06/0.2191, allocations: 8 kB / 0.7338 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004843/0.2196, allocations: 144.2 kB / 0.7339 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.2196, allocations: 15.98 kB / 0.7339 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/0.2201, allocations: 56.36 kB / 0.734 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.684e-05/0.2202, allocations: 31.98 kB / 0.734 GB, free: 13.59 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.2203, allocations: 224 kB / 0.7342 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.2205, allocations: 103.3 kB / 0.7343 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.2217, allocations: 0.6084 MB / 0.7349 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.2217, allocations: 4 kB / 0.7349 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2217, allocations: 7.984 kB / 0.7349 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009299/0.2227, allocations: 0.6586 MB / 0.7356 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.2247, allocations: 1.451 MB / 0.737 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2248, allocations: 4.109 kB / 0.737 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004016/0.2252, allocations: 83.89 kB / 0.7371 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.2252, allocations: 4 kB / 0.7371 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/0.2252, allocations: 19.98 kB / 0.7371 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2252, allocations: 0 / 0.7371 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2252, allocations: 4 kB / 0.7371 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.2267, allocations: 0.8877 MB / 0.738 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/0.227, allocations: 228.4 kB / 0.7382 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.2271, allocations: 8 kB / 0.7382 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/0.2276, allocations: 31.95 kB / 0.7382 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.2277, allocations: 36.17 kB / 0.7383 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-05/0.2277, allocations: 19.98 kB / 0.7383 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008903/0.2286, allocations: 0.6467 MB / 0.7389 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2286, allocations: 4 kB / 0.7389 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001262/0.2299, allocations: 0.5339 MB / 0.7394 GB, free: 7.828 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002405/0.2323, allocations: 1.686 MB / 0.7411 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001481/0.2338, allocations: 0.7735 MB / 0.7418 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2338, allocations: 0 / 0.7418 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004476/0.2343, allocations: 235.6 kB / 0.7421 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/0.2362, allocations: 0.5127 MB / 0.7426 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2698/0.5061, allocations: 7.048 MB / 0.7494 GB, free: 76.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000528/0.5066, allocations: 1.081 MB / 0.7505 GB, free: 75.89 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009029/0.5075, allocations: 253.8 kB / 0.7507 GB, free: 75.88 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000504/0.508, allocations: 402 kB / 0.7511 GB, free: 75.88 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.5081, allocations: 0 / 0.7511 GB, free: 75.88 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05387/0.5619, allocations: 28.27 MB / 0.7787 GB, free: 65.86 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.218/9.78, allocations: 6.297 kB / 0.7787 GB, free: 65.86 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)