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.00109/0.00109, allocations: 108 kB / 15.6 MB, free: 132 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.001183/0.001183, allocations: 196 kB / 16.53 MB, free: 6.391 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9257/0.9257, allocations: 135.1 MB / 425.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002522/0.002522, allocations: 64.59 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1768, allocations: 80.93 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.2877/0.4645, allocations: 30.64 MB / 0.6144 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01063/0.4752, allocations: 10.28 MB / 0.6244 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.4765, allocations: 44.59 kB / 0.6245 GB, free: 31.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00236/0.4789, allocations: 0.6861 MB / 0.6252 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00422/0.4832, allocations: 1.489 MB / 0.6266 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002827/0.486, allocations: 1.323 MB / 0.6279 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002548/0.4886, allocations: 2.97 MB / 0.6308 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009475/0.4895, allocations: 0.9798 MB / 0.6318 GB, free: 27.78 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.4913, allocations: 1.158 MB / 0.6329 GB, free: 27.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007186/0.492, allocations: 0.8057 MB / 0.6337 GB, free: 26.87 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.4921, allocations: 105.2 kB / 0.6338 GB, free: 26.87 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.4935, allocations: 0.8061 MB / 0.6346 GB, free: 26.64 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002525/0.4937, allocations: 351.7 kB / 0.6349 GB, free: 26.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004415/0.4942, allocations: 0.6097 MB / 0.6355 GB, free: 26.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001822/0.496, allocations: 1.951 MB / 0.6374 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.496, allocations: 0 / 0.6374 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.293e-06/0.496, allocations: 0 / 0.6374 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.626e-05/0.4961, allocations: 0 / 0.6374 GB, free: 25.34 MB / 0.4981 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.002086/0.4982, allocations: 1.539 MB / 0.6389 GB, free: 24.29 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.4982, allocations: 8.125 kB / 0.6389 GB, free: 24.29 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.945e-05/0.4983, allocations: 111.4 kB / 0.639 GB, free: 24.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009564/0.4993, allocations: 211.5 kB / 0.6392 GB, free: 24.14 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.5007, allocations: 1.01 MB / 0.6402 GB, free: 23.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.5008, allocations: 65.44 kB / 0.6403 GB, free: 23.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-05/0.5009, allocations: 70.12 kB / 0.6403 GB, free: 23.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.502, allocations: 0.7148 MB / 0.641 GB, free: 23.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.502, allocations: 7.938 kB / 0.641 GB, free: 23.13 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.009e-05/0.5021, allocations: 31.28 kB / 0.6411 GB, free: 23.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.421e-05/0.5021, allocations: 21.31 kB / 0.6411 GB, free: 23.11 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009953/0.5031, allocations: 0.5318 MB / 0.6416 GB, free: 22.93 MB / 0.4981 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.003097/0.5062, allocations: 3.183 MB / 0.6447 GB, free: 20.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009928/0.5072, allocations: 441.3 kB / 0.6451 GB, free: 20.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/0.5076, allocations: 194.2 kB / 0.6453 GB, free: 20.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001455/0.509, allocations: 1.547 MB / 0.6468 GB, free: 19.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000449/0.5095, allocations: 254 kB / 0.6471 GB, free: 19.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.894e-06/0.5095, allocations: 0 / 0.6471 GB, free: 19.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001207/0.5107, allocations: 0.5847 MB / 0.6476 GB, free: 18.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.5107, allocations: 58.38 kB / 0.6477 GB, free: 18.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000928/0.5117, allocations: 0.9374 MB / 0.6486 GB, free: 18.37 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.5117, allocations: 36.08 kB / 0.6487 GB, free: 18.33 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/0.512, allocations: 0.5032 MB / 0.6491 GB, free: 17.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.694e-05/0.5121, allocations: 121.2 kB / 0.6493 GB, free: 17.83 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001895/0.5123, allocations: 133.2 kB / 0.6494 GB, free: 17.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.133e-05/0.5124, allocations: 331.4 kB / 0.6497 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000428/0.5128, allocations: 209.6 kB / 0.6499 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005239/0.5134, allocations: 408.5 kB / 0.6503 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009194/0.5143, allocations: 0.6012 MB / 0.6509 GB, free: 16.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.5143, allocations: 3 kB / 0.6509 GB, free: 16.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001343/0.5157, allocations: 0.7168 MB / 0.6516 GB, free: 16.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.5157, allocations: 8.375 kB / 0.6516 GB, free: 16.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.5157, allocations: 5.344 kB / 0.6516 GB, free: 16.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.5157, allocations: 9.219 kB / 0.6516 GB, free: 16.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/0.5164, allocations: 142.7 kB / 0.6517 GB, free: 16.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/0.5164, allocations: 16.88 kB / 0.6518 GB, free: 16.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005801/0.517, allocations: 76.97 kB / 0.6518 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.446e-05/0.517, allocations: 31.88 kB / 0.6519 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000609/0.5177, allocations: 411.8 kB / 0.6523 GB, free: 16.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004278/0.5181, allocations: 392.7 kB / 0.6526 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007188/0.5188, allocations: 0.5478 MB / 0.6532 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.516e-06/0.5188, allocations: 5.25 kB / 0.6532 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001147/0.52, allocations: 0.6542 MB / 0.6538 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.52, allocations: 15.67 kB / 0.6538 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.52, allocations: 6.531 kB / 0.6538 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.5201, allocations: 13.41 kB / 0.6538 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005409/0.5206, allocations: 136.4 kB / 0.654 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.5206, allocations: 15.03 kB / 0.654 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005116/0.5211, allocations: 59.23 kB / 0.654 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.352e-05/0.5212, allocations: 34.27 kB / 0.6541 GB, free: 14.99 MB / 0.4981 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.0001516/0.5214, allocations: 221.2 kB / 0.6543 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.5215, allocations: 100.9 kB / 0.6544 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.5229, allocations: 0.6156 MB / 0.655 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.5229, allocations: 5.156 kB / 0.655 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5229, allocations: 2.438 kB / 0.655 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009103/0.5238, allocations: 0.6727 MB / 0.6556 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.526, allocations: 1.441 MB / 0.6571 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.526, allocations: 1.094 kB / 0.6571 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004122/0.5264, allocations: 83.08 kB / 0.6571 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.5264, allocations: 3.5 kB / 0.6571 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/0.5265, allocations: 13.34 kB / 0.6571 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.5265, allocations: 2.734 kB / 0.6572 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.5265, allocations: 1.5 kB / 0.6572 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.5279, allocations: 0.8868 MB / 0.658 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.5282, allocations: 230.1 kB / 0.6582 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.5283, allocations: 12.81 kB / 0.6582 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004337/0.5288, allocations: 19.84 kB / 0.6583 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.251e-05/0.5288, allocations: 37.66 kB / 0.6583 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/0.5289, allocations: 24.91 kB / 0.6583 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007883/0.5297, allocations: 0.6451 MB / 0.659 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5297, allocations: 0 / 0.659 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001418/0.5311, allocations: 0.5212 MB / 0.6595 GB, free: 12.14 MB / 0.4981 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.002254/0.5334, allocations: 1.68 MB / 0.6611 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001685/0.5351, allocations: 0.8152 MB / 0.6619 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5351, allocations: 1.125 kB / 0.6619 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004531/0.5356, allocations: 234.5 kB / 0.6621 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002039/0.5376, allocations: 0.5054 MB / 0.6626 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009837/0.5475, allocations: 7.389 MB / 0.6698 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006019/0.5481, allocations: 1.08 MB / 0.6709 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00107/0.5492, allocations: 251.5 kB / 0.6711 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004654/0.5496, allocations: 403.5 kB / 0.6715 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/0.5496, allocations: 0 / 0.6715 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05861/0.6083, allocations: 28.11 MB / 0.699 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.841/8.449, allocations: 23.66 kB / 0.699 GB, free: 6.684 MB / 0.5137 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)