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.001305/0.001305, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007514/0.007514, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.133/1.133, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7844/0.7844, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000253/0.000253, allocations: 8 kB / 0.5077 GB, free: 4.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1152, allocations: 82.31 MB / 0.5881 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.2271/0.3423, allocations: 29.71 MB / 0.6171 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008987/0.3514, allocations: 10.19 MB / 0.627 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000799/0.3522, allocations: 37.56 kB / 0.6271 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.3533, allocations: 0.603 MB / 0.6277 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.3553, allocations: 1.378 MB / 0.629 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.3571, allocations: 1.197 MB / 0.6302 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002175/0.3592, allocations: 3.922 MB / 0.634 GB, free: 28.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006743/0.3599, allocations: 0.7976 MB / 0.6348 GB, free: 27.97 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009294/0.3609, allocations: 0.9731 MB / 0.6357 GB, free: 27.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005508/0.3614, allocations: 0.7939 MB / 0.6365 GB, free: 27.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.491e-05/0.3615, allocations: 38.44 kB / 0.6365 GB, free: 27.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008902/0.3624, allocations: 0.7448 MB / 0.6373 GB, free: 27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.3626, allocations: 286.4 kB / 0.6375 GB, free: 26.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003063/0.3629, allocations: 0.5598 MB / 0.6381 GB, free: 26.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.364, allocations: 1.872 MB / 0.6399 GB, free: 25.97 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.364, allocations: 0 / 0.6399 GB, free: 25.97 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.364, allocations: 0 / 0.6399 GB, free: 25.97 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.3641, allocations: 0 / 0.6399 GB, free: 25.97 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.001499/0.3656, allocations: 1.334 MB / 0.6412 GB, free: 25.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.3656, allocations: 8.969 kB / 0.6412 GB, free: 25.06 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.821e-05/0.3657, allocations: 110.3 kB / 0.6413 GB, free: 24.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007631/0.3665, allocations: 209.3 kB / 0.6415 GB, free: 24.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.3677, allocations: 1.058 MB / 0.6426 GB, free: 24.26 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.3677, allocations: 50.84 kB / 0.6426 GB, free: 24.24 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.33e-05/0.3678, allocations: 70.81 kB / 0.6427 GB, free: 24.22 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009177/0.3688, allocations: 0.7314 MB / 0.6434 GB, free: 23.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.3688, allocations: 0 / 0.6434 GB, free: 23.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.119e-05/0.3688, allocations: 26 kB / 0.6434 GB, free: 23.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.3689, allocations: 31.41 kB / 0.6435 GB, free: 23.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008424/0.3697, allocations: 0.5427 MB / 0.644 GB, free: 23.68 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.00261/0.3723, allocations: 3.168 MB / 0.6471 GB, free: 21.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008631/0.3732, allocations: 474.6 kB / 0.6475 GB, free: 21.33 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/0.3735, allocations: 207.7 kB / 0.6477 GB, free: 21.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/0.3747, allocations: 1.538 MB / 0.6492 GB, free: 19.94 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003682/0.3751, allocations: 258 kB / 0.6495 GB, free: 19.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001645/0.3753, allocations: 56.28 kB / 0.6495 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 1.473e-06/0.3753, allocations: 0 / 0.6495 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.0009913/0.3763, allocations: 0.5905 MB / 0.6501 GB, free: 19.56 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.3763, allocations: 61.34 kB / 0.6502 GB, free: 19.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008002/0.3771, allocations: 0.9297 MB / 0.6511 GB, free: 19.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.3771, allocations: 33.36 kB / 0.6511 GB, free: 19.06 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.3774, allocations: 0.4993 MB / 0.6516 GB, free: 18.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.403e-05/0.3775, allocations: 130.8 kB / 0.6517 GB, free: 18.56 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.616e-05/0.3776, allocations: 58.72 kB / 0.6518 GB, free: 18.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.172e-05/0.3776, allocations: 325.8 kB / 0.6521 GB, free: 18.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/0.378, allocations: 207.9 kB / 0.6523 GB, free: 18.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/0.3784, allocations: 421.7 kB / 0.6527 GB, free: 17.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007798/0.3792, allocations: 0.6047 MB / 0.6533 GB, free: 17.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.3792, allocations: 1.156 kB / 0.6533 GB, free: 17.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001072/0.3803, allocations: 0.7214 MB / 0.654 GB, free: 17.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.744e-05/0.3804, allocations: 265.9 kB / 0.6542 GB, free: 16.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3804, allocations: 4.562 kB / 0.6542 GB, free: 16.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3804, allocations: 13.03 kB / 0.6543 GB, free: 16.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/0.3809, allocations: 150.3 kB / 0.6544 GB, free: 16.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.3809, allocations: 16.72 kB / 0.6544 GB, free: 16.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004823/0.3814, allocations: 53.98 kB / 0.6545 GB, free: 16.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/0.3815, allocations: 36.36 kB / 0.6545 GB, free: 16.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.542e-06/0.3815, allocations: 5.969 kB / 0.6545 GB, free: 16.73 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000818/0.3823, allocations: 0.5512 MB / 0.655 GB, free: 16.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3823, allocations: 10.89 kB / 0.6551 GB, free: 16.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.3824, allocations: 17.19 kB / 0.6551 GB, free: 16.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/0.3828, allocations: 142.9 kB / 0.6552 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.3828, allocations: 9.859 kB / 0.6552 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004244/0.3833, allocations: 52.84 kB / 0.6553 GB, free: 16.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-05/0.3833, allocations: 30.2 kB / 0.6553 GB, free: 16.48 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 (71): * Single equations (assignments): 70 * 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.0002951/0.3836, allocations: 379.8 kB / 0.6557 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.325e-05/0.3837, allocations: 101.3 kB / 0.6558 GB, free: 16.13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.3848, allocations: 0.6318 MB / 0.6564 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.3848, allocations: 4.766 kB / 0.6564 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3848, allocations: 1.344 kB / 0.6564 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007825/0.3856, allocations: 0.6731 MB / 0.657 GB, free: 15.39 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 postOpt removeSimpleEquations (simulation): time 0.001853/0.3875, allocations: 1.506 MB / 0.6585 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3875, allocations: 1 kB / 0.6585 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.3879, allocations: 85.17 kB / 0.6586 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3879, allocations: 3.469 kB / 0.6586 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.3879, allocations: 20.59 kB / 0.6586 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.3879, allocations: 4.297 kB / 0.6586 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3879, allocations: 1.156 kB / 0.6586 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.3891, allocations: 0.892 MB / 0.6595 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/0.3894, allocations: 234.9 kB / 0.6597 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.141e-05/0.3895, allocations: 13.48 kB / 0.6597 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004172/0.3899, allocations: 41.94 kB / 0.6598 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.3899, allocations: 43.78 kB / 0.6598 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/0.39, allocations: 20.59 kB / 0.6598 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006379/0.3906, allocations: 0.6325 MB / 0.6604 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3906, allocations: 0 / 0.6604 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001089/0.3917, allocations: 0.5177 MB / 0.6609 GB, free: 13.48 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 (45): * Single equations (assignments): 40 * 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.001886/0.3936, allocations: 1.694 MB / 0.6626 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001226/0.3949, allocations: 0.7867 MB / 0.6634 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3949, allocations: 1.938 kB / 0.6634 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000382/0.3953, allocations: 240.1 kB / 0.6636 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/0.3972, allocations: 487.2 kB / 0.6641 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009253/0.4064, allocations: 7.747 MB / 0.6716 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004634/0.4069, allocations: 1.084 MB / 0.6727 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007574/0.4077, allocations: 246.9 kB / 0.6729 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003839/0.4081, allocations: 400.9 kB / 0.6733 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.4081, allocations: 1.469 kB / 0.6733 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.092/1.5, allocations: 26.93 MB / 0.6996 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/1.5, allocations: 230.2 kB / 0.6998 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/3.854, allocations: 3.875 kB / 0.6998 GB, free: 8.715 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)