Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.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.PumpWithPulseControl,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl",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.01175/0.01175, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.002245/0.002245, allocations: 188.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.012/2.012, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.339/1.339, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002361, allocations: 59.91 kB / 0.5808 GB, free: 8.074 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7589/0.7613, allocations: 80.21 MB / 0.6592 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.05929/0.8206, allocations: 30.58 MB / 0.689 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03173/0.8524, allocations: 10.22 MB / 0.699 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004378/0.8569, allocations: 49.09 kB / 0.6991 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004519/0.8615, allocations: 0.6853 MB / 0.6997 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008404/0.87, allocations: 1.459 MB / 0.7012 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006787/0.8768, allocations: 1.308 MB / 0.7024 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008779/0.8856, allocations: 2.888 MB / 0.7052 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003245/0.8889, allocations: 0.9292 MB / 0.7062 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005252/0.8942, allocations: 1.158 MB / 0.7073 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00245/0.8967, allocations: 0.7725 MB / 0.708 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006157/0.8974, allocations: 100.9 kB / 0.7081 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00454/0.9019, allocations: 0.7977 MB / 0.7089 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.9032, allocations: 327.5 kB / 0.7092 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002147/0.9053, allocations: 0.5869 MB / 0.7098 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006514/0.9119, allocations: 1.885 MB / 0.7116 GB, free: 348 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.254e-05/0.912, allocations: 0 / 0.7116 GB, free: 348 kB / 0.5294 GB Notification: Performance of FrontEnd: time 3.566e-06/0.912, allocations: 0 / 0.7116 GB, free: 348 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.484e-05/0.9121, allocations: 0 / 0.7116 GB, free: 348 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.005461/0.9176, allocations: 1.508 MB / 0.7131 GB, free: 14.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.084e-05/0.9177, allocations: 8.031 kB / 0.7131 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003188/0.918, allocations: 98.7 kB / 0.7132 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001749/0.9198, allocations: 207.4 kB / 0.7134 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003988/0.9238, allocations: 1.015 MB / 0.7144 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.9239, allocations: 45.31 kB / 0.7144 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002601/0.9242, allocations: 64 kB / 0.7145 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/0.9266, allocations: 0.7059 MB / 0.7152 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/0.9266, allocations: 0 / 0.7152 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.9268, allocations: 28 kB / 0.7152 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.9268, allocations: 12 kB / 0.7152 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001928/0.9287, allocations: 0.5204 MB / 0.7157 GB, free: 12 MB / 0.545 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.007213/0.936, allocations: 3.074 MB / 0.7187 GB, free: 8.742 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.9375, allocations: 373.8 kB / 0.7191 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006609/0.9382, allocations: 184.7 kB / 0.7193 GB, free: 8.188 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003325/0.9415, allocations: 1.489 MB / 0.7207 GB, free: 6.523 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009544/0.9425, allocations: 240.5 kB / 0.721 GB, free: 6.277 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 4.729e-06/0.9426, allocations: 3.938 kB / 0.721 GB, free: 6.273 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.002351/0.9449, allocations: 0.5473 MB / 0.7215 GB, free: 5.719 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/0.945, allocations: 59.38 kB / 0.7216 GB, free: 5.648 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002216/0.9473, allocations: 0.8995 MB / 0.7224 GB, free: 4.727 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.537e-05/0.9474, allocations: 33.64 kB / 0.7225 GB, free: 4.688 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007378/0.9481, allocations: 495.7 kB / 0.7229 GB, free: 4.199 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.9483, allocations: 102.5 kB / 0.723 GB, free: 4.098 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003245/0.9486, allocations: 122.1 kB / 0.7232 GB, free: 3.973 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.9489, allocations: 330 kB / 0.7235 GB, free: 3.645 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007863/0.9497, allocations: 202.9 kB / 0.7237 GB, free: 3.441 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.9507, allocations: 394.4 kB / 0.724 GB, free: 2.973 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/0.9525, allocations: 0.5951 MB / 0.7246 GB, free: 2.293 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/0.9525, allocations: 4 kB / 0.7246 GB, free: 2.289 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00256/0.9551, allocations: 0.7063 MB / 0.7253 GB, free: 1.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.576e-05/0.9552, allocations: 33.7 kB / 0.7253 GB, free: 1.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.9552, allocations: 4.656 kB / 0.7254 GB, free: 1.527 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.032e-05/0.9552, allocations: 19.94 kB / 0.7254 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008196/0.9561, allocations: 123.8 kB / 0.7255 GB, free: 1.387 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-05/0.9561, allocations: 16.05 kB / 0.7255 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.9574, allocations: 76.02 kB / 0.7256 GB, free: 1.297 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.9575, allocations: 35.92 kB / 0.7256 GB, free: 1.262 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00124/0.9588, allocations: 401.8 kB / 0.726 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008633/0.9596, allocations: 374.4 kB / 0.7264 GB, free: 424 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001453/0.9611, allocations: 0.5424 MB / 0.7269 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.534e-06/0.9611, allocations: 0 / 0.7269 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002273/0.9634, allocations: 0.6576 MB / 0.7275 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.034e-05/0.9635, allocations: 36.52 kB / 0.7276 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/0.9635, allocations: 8 kB / 0.7276 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.9636, allocations: 15.98 kB / 0.7276 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007273/0.9643, allocations: 119.8 kB / 0.7277 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-05/0.9643, allocations: 11.94 kB / 0.7277 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.9655, allocations: 64.16 kB / 0.7278 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.9656, allocations: 31.94 kB / 0.7278 GB, free: 14.83 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 61 * Array equations: 1 * Algorithm blocks: 1 * 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.0003431/0.9659, allocations: 212.1 kB / 0.728 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004004/0.9663, allocations: 98.86 kB / 0.7281 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/0.9688, allocations: 0.5792 MB / 0.7287 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.623e-05/0.9688, allocations: 7.938 kB / 0.7287 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.9689, allocations: 0 / 0.7287 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001519/0.9704, allocations: 0.6466 MB / 0.7293 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004288/0.9747, allocations: 1.363 MB / 0.7306 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/0.9748, allocations: 4 kB / 0.7306 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006347/0.9754, allocations: 71.94 kB / 0.7307 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.087e-05/0.9754, allocations: 4.125 kB / 0.7307 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.382e-05/0.9755, allocations: 15.94 kB / 0.7307 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.495e-05/0.9755, allocations: 7.984 kB / 0.7307 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.9756, allocations: 0 / 0.7307 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002797/0.9784, allocations: 0.8314 MB / 0.7315 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007475/0.9791, allocations: 207.9 kB / 0.7317 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000342/0.9795, allocations: 20.05 kB / 0.7318 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000868/0.9804, allocations: 23.92 kB / 0.7318 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.9805, allocations: 32.23 kB / 0.7318 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.036e-05/0.9807, allocations: 19.98 kB / 0.7318 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001737/0.9824, allocations: 0.618 MB / 0.7324 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9824, allocations: 0 / 0.7324 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002969/0.9854, allocations: 0.5029 MB / 0.7329 GB, free: 9.363 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.004459/0.9899, allocations: 1.649 MB / 0.7345 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002936/0.9928, allocations: 0.8481 MB / 0.7354 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/0.9929, allocations: 4 kB / 0.7354 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008051/0.9937, allocations: 219.7 kB / 0.7356 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003874/0.9976, allocations: 0.4963 MB / 0.7361 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01877/1.016, allocations: 6.697 MB / 0.7426 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/1.018, allocations: 1.048 MB / 0.7436 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001567/1.019, allocations: 236.5 kB / 0.7439 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009021/1.02, allocations: 371.3 kB / 0.7442 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of SimCode: time 1.613e-06/1.02, allocations: 0 / 0.7442 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09679/1.117, allocations: 27.86 MB / 0.7714 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/15.69, allocations: 3.781 kB / 0.7714 GB, free: 1.973 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)