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.001096/0.001096, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.008631/0.008631, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.338/1.338, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7147/0.7147, allocations: 132.3 MB / 423.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002992, allocations: 8 kB / 0.5041 GB, free: 3.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3932, allocations: 81.57 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.02951/0.4227, allocations: 29.65 MB / 0.6127 GB, free: 14.1 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0139/0.4367, allocations: 10.15 MB / 0.6226 GB, free: 5.961 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.4383, allocations: 38.97 kB / 0.6226 GB, free: 5.945 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001772/0.44, allocations: 0.5975 MB / 0.6232 GB, free: 5.488 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.4434, allocations: 1.352 MB / 0.6246 GB, free: 4.43 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002711/0.4461, allocations: 1.16 MB / 0.6257 GB, free: 3.613 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004395/0.4505, allocations: 3.835 MB / 0.6294 GB, free: 1.512 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.4516, allocations: 0.7537 MB / 0.6302 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.4534, allocations: 0.9725 MB / 0.6311 GB, free: 15.83 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008815/0.4542, allocations: 0.7621 MB / 0.6319 GB, free: 15.06 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.903e-05/0.4543, allocations: 36 kB / 0.6319 GB, free: 15.03 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.4559, allocations: 0.7332 MB / 0.6326 GB, free: 14.29 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.4562, allocations: 270.9 kB / 0.6329 GB, free: 14.03 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004862/0.4567, allocations: 0.5301 MB / 0.6334 GB, free: 13.49 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.4585, allocations: 1.803 MB / 0.6351 GB, free: 11.68 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4585, allocations: 4 kB / 0.6351 GB, free: 11.68 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.509e-06/0.4585, allocations: 0 / 0.6351 GB, free: 11.68 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.4585, allocations: 3.938 kB / 0.6352 GB, free: 11.67 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.002077/0.4606, allocations: 1.287 MB / 0.6364 GB, free: 10.32 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.4606, allocations: 8.031 kB / 0.6364 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001293/0.4608, allocations: 106.7 kB / 0.6365 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009532/0.4617, allocations: 215.3 kB / 0.6367 GB, free: 9.992 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.4633, allocations: 1.003 MB / 0.6377 GB, free: 8.949 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.792e-05/0.4634, allocations: 49.31 kB / 0.6378 GB, free: 8.902 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.4635, allocations: 64 kB / 0.6378 GB, free: 8.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.4648, allocations: 0.709 MB / 0.6385 GB, free: 8.105 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.4648, allocations: 0 / 0.6385 GB, free: 8.105 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-05/0.4649, allocations: 28 kB / 0.6385 GB, free: 8.078 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.4649, allocations: 12 kB / 0.6385 GB, free: 8.066 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.4661, allocations: 0.5438 MB / 0.6391 GB, free: 7.52 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.003805/0.4699, allocations: 3.093 MB / 0.6421 GB, free: 4.234 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009356/0.4709, allocations: 404.8 kB / 0.6425 GB, free: 3.832 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004322/0.4713, allocations: 193.3 kB / 0.6427 GB, free: 3.641 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00173/0.4731, allocations: 1.51 MB / 0.6441 GB, free: 1.957 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005415/0.4736, allocations: 251.2 kB / 0.6444 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000196/0.4738, allocations: 43.58 kB / 0.6444 GB, free: 1.656 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 1.754e-06/0.4738, allocations: 0 / 0.6444 GB, free: 1.656 MB / 478.1 MB Notification: Performance of matching and sorting (n=32): time 0.001385/0.4752, allocations: 0.5803 MB / 0.645 GB, free: 1.07 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.4753, allocations: 55.41 kB / 0.645 GB, free: 1.004 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.4763, allocations: 0.8799 MB / 0.6459 GB, free: 104 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.761e-05/0.4763, allocations: 41.69 kB / 0.6459 GB, free: 56 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/0.4767, allocations: 483.8 kB / 0.6464 GB, free: 15.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.4768, allocations: 114.4 kB / 0.6465 GB, free: 15.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.478e-05/0.4769, allocations: 53.69 kB / 0.6466 GB, free: 15.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.477, allocations: 334 kB / 0.6469 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004659/0.4775, allocations: 193 kB / 0.6471 GB, free: 14.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005959/0.4781, allocations: 414.6 kB / 0.6475 GB, free: 14.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.4791, allocations: 0.6036 MB / 0.648 GB, free: 13.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4792, allocations: 0 / 0.648 GB, free: 13.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00136/0.4805, allocations: 0.7253 MB / 0.6488 GB, free: 12.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.4807, allocations: 296.4 kB / 0.649 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.4807, allocations: 4 kB / 0.649 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.4807, allocations: 11.94 kB / 0.6491 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005095/0.4813, allocations: 135.8 kB / 0.6492 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.4813, allocations: 15.92 kB / 0.6492 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005689/0.4819, allocations: 52.02 kB / 0.6492 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.672e-05/0.4819, allocations: 31.98 kB / 0.6493 GB, free: 12.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.783e-06/0.4819, allocations: 4 kB / 0.6493 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001044/0.483, allocations: 0.5679 MB / 0.6498 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.483, allocations: 8 kB / 0.6498 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.483, allocations: 8 kB / 0.6499 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.4835, allocations: 119.8 kB / 0.65 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.4835, allocations: 19.92 kB / 0.65 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004891/0.484, allocations: 64.47 kB / 0.65 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.691e-05/0.484, allocations: 31.98 kB / 0.6501 GB, free: 11.52 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 (64): * Single equations (assignments): 62 * 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.00038/0.4844, allocations: 360.9 kB / 0.6504 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-05/0.4845, allocations: 90.81 kB / 0.6505 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.4859, allocations: 0.6026 MB / 0.6511 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.4859, allocations: 8 kB / 0.6511 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4859, allocations: 3.938 kB / 0.6511 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009886/0.4869, allocations: 0.6593 MB / 0.6518 GB, free: 9.719 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.002116/0.489, allocations: 1.436 MB / 0.6532 GB, free: 8.203 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.489, allocations: 0 / 0.6532 GB, free: 8.203 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.4894, allocations: 84 kB / 0.6532 GB, free: 8.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4894, allocations: 4 kB / 0.6532 GB, free: 8.117 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.4895, allocations: 15.98 kB / 0.6533 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.4895, allocations: 3.938 kB / 0.6533 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4895, allocations: 4 kB / 0.6533 GB, free: 8.094 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.491, allocations: 0.8542 MB / 0.6541 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/0.4912, allocations: 219.8 kB / 0.6543 GB, free: 6.977 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.686e-05/0.4913, allocations: 4 kB / 0.6543 GB, free: 6.973 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004685/0.4918, allocations: 48.02 kB / 0.6544 GB, free: 6.926 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.78e-05/0.4919, allocations: 31.89 kB / 0.6544 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.492, allocations: 19.98 kB / 0.6544 GB, free: 6.875 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007261/0.4927, allocations: 0.6102 MB / 0.655 GB, free: 6.254 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4927, allocations: 7.938 kB / 0.655 GB, free: 6.246 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00137/0.4941, allocations: 0.5029 MB / 0.6555 GB, free: 5.742 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 (39): * Single equations (assignments): 33 * 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.00245/0.4965, allocations: 1.655 MB / 0.6571 GB, free: 4.059 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.4982, allocations: 0.873 MB / 0.658 GB, free: 3.164 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4982, allocations: 4.062 kB / 0.658 GB, free: 3.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004777/0.4987, allocations: 227.7 kB / 0.6582 GB, free: 2.938 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/0.5008, allocations: 475.7 kB / 0.6586 GB, free: 2.484 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.5119, allocations: 7.343 MB / 0.6658 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005784/0.5125, allocations: 1.052 MB / 0.6668 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008783/0.5134, allocations: 227.6 kB / 0.6671 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004562/0.5139, allocations: 375.2 kB / 0.6674 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.5139, allocations: 0 / 0.6674 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4319/0.9457, allocations: 26.15 MB / 0.693 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002867/0.946, allocations: 239.3 kB / 0.6932 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/3.351, allocations: 0 / 0.6932 GB, free: 15.11 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 & /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)