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.001758/0.001758, allocations: 108 kB / 15.61 MB, free: 152 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.00225/0.00225, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7767/0.7767, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 69.33 kB / 0.5019 GB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.448/0.4504, allocations: 80.19 MB / 0.5802 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.0314/0.4818, allocations: 30.58 MB / 0.61 GB, free: 13.97 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01462/0.4965, allocations: 10.22 MB / 0.62 GB, free: 5.719 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.4983, allocations: 44.5 kB / 0.6201 GB, free: 5.703 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001973/0.5003, allocations: 0.6969 MB / 0.6207 GB, free: 5.148 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003583/0.5039, allocations: 1.448 MB / 0.6222 GB, free: 4.004 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002993/0.5069, allocations: 1.304 MB / 0.6234 GB, free: 3.062 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003532/0.5105, allocations: 2.882 MB / 0.6262 GB, free: 1.402 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.5117, allocations: 0.9257 MB / 0.6272 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002242/0.5139, allocations: 1.137 MB / 0.6283 GB, free: 136 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009432/0.5149, allocations: 0.7699 MB / 0.629 GB, free: 15.39 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.515, allocations: 96 kB / 0.6291 GB, free: 15.29 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.5167, allocations: 0.7958 MB / 0.6299 GB, free: 14.5 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003242/0.517, allocations: 339 kB / 0.6302 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000535/0.5175, allocations: 0.5753 MB / 0.6308 GB, free: 13.59 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002165/0.5197, allocations: 1.87 MB / 0.6326 GB, free: 11.71 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5197, allocations: 0 / 0.6326 GB, free: 11.71 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5197, allocations: 0 / 0.6326 GB, free: 11.71 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.965e-05/0.5198, allocations: 0 / 0.6326 GB, free: 11.71 MB / 478.1 MB 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.002442/0.5222, allocations: 1.495 MB / 0.6341 GB, free: 10.16 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.5223, allocations: 12.03 kB / 0.6341 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/0.5224, allocations: 98.7 kB / 0.6342 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.5234, allocations: 203.3 kB / 0.6344 GB, free: 9.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.5251, allocations: 0.9722 MB / 0.6353 GB, free: 8.824 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.086e-05/0.5251, allocations: 49.31 kB / 0.6353 GB, free: 8.777 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.5253, allocations: 75.83 kB / 0.6354 GB, free: 8.703 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.5265, allocations: 0.6942 MB / 0.6361 GB, free: 7.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.5266, allocations: 7.938 kB / 0.6361 GB, free: 7.973 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.145e-05/0.5266, allocations: 24 kB / 0.6361 GB, free: 7.949 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.5266, allocations: 16 kB / 0.6361 GB, free: 7.934 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.5278, allocations: 0.5165 MB / 0.6366 GB, free: 7.418 MB / 478.1 MB 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.004021/0.5318, allocations: 3.097 MB / 0.6397 GB, free: 4.137 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009532/0.5328, allocations: 370.6 kB / 0.64 GB, free: 3.766 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004288/0.5332, allocations: 188.2 kB / 0.6402 GB, free: 3.582 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00179/0.535, allocations: 1.497 MB / 0.6417 GB, free: 1.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005779/0.5356, allocations: 244.8 kB / 0.6419 GB, free: 1.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/0.5356, allocations: 3.938 kB / 0.6419 GB, free: 1.656 MB / 478.1 MB Notification: Performance of matching and sorting (n=31): time 0.001477/0.5371, allocations: 0.5432 MB / 0.6424 GB, free: 1.105 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.5372, allocations: 55.41 kB / 0.6425 GB, free: 1.039 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.5382, allocations: 0.8994 MB / 0.6434 GB, free: 120 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/0.5383, allocations: 37.7 kB / 0.6434 GB, free: 76 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/0.5386, allocations: 487.7 kB / 0.6439 GB, free: 15.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.621e-05/0.5388, allocations: 102.5 kB / 0.644 GB, free: 15.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.5389, allocations: 134 kB / 0.6441 GB, free: 15.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.5391, allocations: 322 kB / 0.6444 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000478/0.5395, allocations: 199 kB / 0.6446 GB, free: 14.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006075/0.5402, allocations: 406.3 kB / 0.645 GB, free: 14.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.5412, allocations: 0.6029 MB / 0.6456 GB, free: 13.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5413, allocations: 0 / 0.6456 GB, free: 13.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001371/0.5426, allocations: 0.6912 MB / 0.6462 GB, free: 12.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.5427, allocations: 41.81 kB / 0.6463 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.5427, allocations: 8 kB / 0.6463 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.5427, allocations: 11.94 kB / 0.6463 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004958/0.5432, allocations: 127.7 kB / 0.6464 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.5433, allocations: 8 kB / 0.6464 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/0.5438, allocations: 79.91 kB / 0.6465 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.919e-05/0.5439, allocations: 31.98 kB / 0.6465 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006351/0.5445, allocations: 402.6 kB / 0.6469 GB, free: 12.26 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005084/0.5451, allocations: 374.2 kB / 0.6473 GB, free: 11.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008322/0.5459, allocations: 0.5502 MB / 0.6478 GB, free: 11.17 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.588e-06/0.5459, allocations: 7.984 kB / 0.6478 GB, free: 11.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001163/0.5471, allocations: 0.6543 MB / 0.6485 GB, free: 10.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.5471, allocations: 37.86 kB / 0.6485 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5471, allocations: 7.938 kB / 0.6485 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.5472, allocations: 12 kB / 0.6485 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/0.5476, allocations: 123.8 kB / 0.6486 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.5476, allocations: 15.92 kB / 0.6487 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005035/0.5481, allocations: 60.25 kB / 0.6487 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.881e-05/0.5482, allocations: 31.98 kB / 0.6487 GB, free: 10.21 MB / 494.1 MB 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.0001687/0.5484, allocations: 216.1 kB / 0.6489 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.5485, allocations: 94.78 kB / 0.649 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.5498, allocations: 0.5791 MB / 0.6496 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.5499, allocations: 7.938 kB / 0.6496 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5499, allocations: 4 kB / 0.6496 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009735/0.5509, allocations: 0.6348 MB / 0.6502 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002084/0.553, allocations: 1.352 MB / 0.6516 GB, free: 7.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.553, allocations: 15.95 kB / 0.6516 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/0.5534, allocations: 67.89 kB / 0.6516 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.5534, allocations: 4 kB / 0.6516 GB, free: 7.086 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.5534, allocations: 15.98 kB / 0.6517 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.738e-06/0.5534, allocations: 4 kB / 0.6517 GB, free: 7.066 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.5534, allocations: 3.938 kB / 0.6517 GB, free: 7.062 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.555, allocations: 0.8344 MB / 0.6525 GB, free: 6.199 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/0.5553, allocations: 223.8 kB / 0.6527 GB, free: 5.961 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.5554, allocations: 8 kB / 0.6527 GB, free: 5.953 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/0.5558, allocations: 23.91 kB / 0.6527 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/0.5559, allocations: 32.19 kB / 0.6527 GB, free: 5.898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.662e-05/0.556, allocations: 24.05 kB / 0.6528 GB, free: 5.875 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007806/0.5567, allocations: 0.6219 MB / 0.6534 GB, free: 5.242 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5568, allocations: 0 / 0.6534 GB, free: 5.242 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001409/0.5582, allocations: 0.5029 MB / 0.6539 GB, free: 4.738 MB / 494.1 MB 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.002552/0.5607, allocations: 1.649 MB / 0.6555 GB, free: 3.062 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00184/0.5626, allocations: 0.8745 MB / 0.6563 GB, free: 2.164 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5626, allocations: 0 / 0.6563 GB, free: 2.164 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005464/0.5632, allocations: 233.2 kB / 0.6566 GB, free: 1.938 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/0.5652, allocations: 490.8 kB / 0.657 GB, free: 1.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009619/0.5748, allocations: 6.993 MB / 0.6639 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005712/0.5754, allocations: 1.056 MB / 0.6649 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008757/0.5763, allocations: 227.5 kB / 0.6651 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004678/0.5768, allocations: 367.3 kB / 0.6655 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of SimCode: time 6.61e-07/0.5768, allocations: 0 / 0.6655 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05254/0.6293, allocations: 27.28 MB / 0.6921 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/8.432, allocations: 10.48 kB / 0.6921 GB, free: 13.55 MB / 0.5294 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl_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_PumpWithPulseControl.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)