Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Movers.Examples.PumpExample,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpExample,fileNamePrefix="IDEAS_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.005118/0.005118, allocations: 101.9 kB / 15.73 MB, free: 6.023 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.001378/0.001378, allocations: 196.2 kB / 16.68 MB, free: 5.934 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7721/0.7721, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 68.38 kB / 0.5809 GB, free: 24.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1581, allocations: 80.2 MB / 0.6592 GB, free: 10.87 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.03373/0.1919, allocations: 30.67 MB / 0.6891 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01455/0.2064, allocations: 10.27 MB / 0.6992 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00159/0.2081, allocations: 43.75 kB / 0.6992 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002143/0.2102, allocations: 0.703 MB / 0.6999 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003857/0.2141, allocations: 1.529 MB / 0.7014 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003187/0.2173, allocations: 1.333 MB / 0.7027 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003858/0.2212, allocations: 2.97 MB / 0.7056 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/0.2227, allocations: 0.9764 MB / 0.7065 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002765/0.2255, allocations: 1.192 MB / 0.7077 GB, free: 9.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.227, allocations: 0.8129 MB / 0.7085 GB, free: 8.203 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003532/0.2274, allocations: 104 kB / 0.7086 GB, free: 8.102 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00195/0.2293, allocations: 0.8035 MB / 0.7094 GB, free: 7.297 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005287/0.2299, allocations: 354.8 kB / 0.7097 GB, free: 6.949 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.2311, allocations: 0.6064 MB / 0.7103 GB, free: 6.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003283/0.2344, allocations: 1.985 MB / 0.7122 GB, free: 4.348 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2344, allocations: 0 / 0.7122 GB, free: 4.348 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2344, allocations: 0 / 0.7122 GB, free: 4.348 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.418e-05/0.2345, allocations: 0 / 0.7122 GB, free: 4.348 MB / 0.545 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.00308/0.2376, allocations: 1.583 MB / 0.7138 GB, free: 2.711 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.2376, allocations: 8.031 kB / 0.7138 GB, free: 2.703 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001687/0.2378, allocations: 110.7 kB / 0.7139 GB, free: 2.586 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.2388, allocations: 219.9 kB / 0.7141 GB, free: 2.371 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001996/0.2408, allocations: 1.062 MB / 0.7152 GB, free: 1.266 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.975e-05/0.2409, allocations: 49.31 kB / 0.7152 GB, free: 1.215 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.241, allocations: 71.95 kB / 0.7153 GB, free: 1.145 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.2423, allocations: 0.7254 MB / 0.716 GB, free: 400 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.2423, allocations: 0 / 0.716 GB, free: 400 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/0.2424, allocations: 28 kB / 0.716 GB, free: 372 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/0.2424, allocations: 25.31 kB / 0.716 GB, free: 348 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.2436, allocations: 0.536 MB / 0.7166 GB, free: 15.8 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.004153/0.2477, allocations: 3.187 MB / 0.7197 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.2488, allocations: 441.2 kB / 0.7201 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003832/0.2492, allocations: 196.8 kB / 0.7203 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001848/0.2511, allocations: 1.536 MB / 0.7218 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004929/0.2516, allocations: 248.2 kB / 0.722 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 1.894e-06/0.2516, allocations: 0 / 0.722 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001318/0.2529, allocations: 0.5868 MB / 0.7226 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.253, allocations: 55.41 kB / 0.7226 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.2541, allocations: 0.9413 MB / 0.7236 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/0.2541, allocations: 33.7 kB / 0.7236 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/0.2545, allocations: 0.5044 MB / 0.7241 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.2547, allocations: 130.9 kB / 0.7242 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.2549, allocations: 138.2 kB / 0.7243 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.255, allocations: 330 kB / 0.7246 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004358/0.2554, allocations: 207.1 kB / 0.7248 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005974/0.256, allocations: 412.2 kB / 0.7252 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009506/0.257, allocations: 0.6012 MB / 0.7258 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.257, allocations: 4 kB / 0.7258 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001334/0.2583, allocations: 0.711 MB / 0.7265 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.2584, allocations: 4.75 kB / 0.7265 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.2584, allocations: 11.94 kB / 0.7265 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.2584, allocations: 16 kB / 0.7266 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005447/0.259, allocations: 143.8 kB / 0.7267 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-05/0.259, allocations: 15.92 kB / 0.7267 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000582/0.2596, allocations: 76.16 kB / 0.7268 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.042e-05/0.2597, allocations: 31.98 kB / 0.7268 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000673/0.2603, allocations: 413.2 kB / 0.7272 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004993/0.2609, allocations: 395.9 kB / 0.7276 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008108/0.2617, allocations: 0.5614 MB / 0.7281 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.98e-06/0.2617, allocations: 4 kB / 0.7281 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001158/0.2629, allocations: 0.6641 MB / 0.7288 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.2629, allocations: 8.75 kB / 0.7288 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.2629, allocations: 11.98 kB / 0.7288 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.2629, allocations: 12 kB / 0.7288 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/0.2634, allocations: 135.8 kB / 0.7289 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.2634, allocations: 11.94 kB / 0.729 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005158/0.2639, allocations: 60.34 kB / 0.729 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.264, allocations: 28 kB / 0.729 GB, free: 2.203 MB / 0.5606 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.000179/0.2642, allocations: 224 kB / 0.7293 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.2643, allocations: 107.2 kB / 0.7294 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.2656, allocations: 0.6007 MB / 0.7299 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.2657, allocations: 12 kB / 0.73 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2657, allocations: 0 / 0.73 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009376/0.2666, allocations: 0.6703 MB / 0.7306 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.2688, allocations: 1.447 MB / 0.732 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2688, allocations: 0 / 0.732 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003952/0.2692, allocations: 87.88 kB / 0.7321 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.2692, allocations: 0 / 0.7321 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.2693, allocations: 15.98 kB / 0.7321 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.2693, allocations: 0 / 0.7321 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.2693, allocations: 8 kB / 0.7321 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.2708, allocations: 0.8878 MB / 0.733 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.2711, allocations: 232.3 kB / 0.7332 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.2712, allocations: 11.94 kB / 0.7332 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004185/0.2717, allocations: 23.98 kB / 0.7333 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.162e-05/0.2718, allocations: 36.22 kB / 0.7333 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.817e-05/0.2718, allocations: 19.98 kB / 0.7333 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000813/0.2726, allocations: 0.6429 MB / 0.7339 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2726, allocations: 3.938 kB / 0.7339 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001399/0.274, allocations: 0.5339 MB / 0.7345 GB, free: 12.44 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.002789/0.2768, allocations: 1.691 MB / 0.7361 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001609/0.2785, allocations: 0.7771 MB / 0.7369 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2785, allocations: 0 / 0.7369 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004503/0.2789, allocations: 237.3 kB / 0.7371 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/0.2809, allocations: 0.5177 MB / 0.7376 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.292, allocations: 7.066 MB / 0.7445 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007369/0.2928, allocations: 1.076 MB / 0.7456 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008708/0.2937, allocations: 256 kB / 0.7458 GB, free: 488 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005058/0.2942, allocations: 403.3 kB / 0.7462 GB, free: 84 kB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.2942, allocations: 0 / 0.7462 GB, free: 84 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3922/0.6864, allocations: 28.26 MB / 0.7738 GB, free: 73.61 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.209/9.895, allocations: 13.02 kB / 0.7738 GB, free: 73.6 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Movers_Examples_PumpExample.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)