Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.PumpWithPulseControl,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,fileNamePrefix="IDEAS_dev_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.001202/0.001203, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001506/0.001506, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.186/2.186, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.653/1.653, allocations: 135.2 MB / 426.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006035/0.000604, allocations: 8 kB / 0.5069 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3042, allocations: 82.32 MB / 0.5873 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.5755/0.8797, allocations: 25.57 MB / 0.6123 GB, free: 34.49 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02084/0.9006, allocations: 8.906 MB / 0.621 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002311/0.903, allocations: 36.34 kB / 0.621 GB, free: 34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003396/0.9064, allocations: 0.5389 MB / 0.6215 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007716/0.9142, allocations: 1.338 MB / 0.6228 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00732/0.9215, allocations: 1.332 MB / 0.6241 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005383/0.9269, allocations: 1.659 MB / 0.6257 GB, free: 32.4 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002435/0.9294, allocations: 0.7028 MB / 0.6264 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003426/0.9329, allocations: 0.7856 MB / 0.6272 GB, free: 31.85 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001721/0.9347, allocations: 0.4964 MB / 0.6277 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003633/0.9351, allocations: 37.66 kB / 0.6277 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003055/0.9382, allocations: 0.5575 MB / 0.6283 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006645/0.9389, allocations: 239.4 kB / 0.6285 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007077/0.9396, allocations: 243.8 kB / 0.6287 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003057/0.9427, allocations: 1.341 MB / 0.63 GB, free: 31.06 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.9428, allocations: 0 / 0.63 GB, free: 31.06 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.747e-06/0.9428, allocations: 2.938 kB / 0.63 GB, free: 31.06 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.855e-05/0.9429, allocations: 0 / 0.63 GB, free: 31.06 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.003943/0.9468, allocations: 1.309 MB / 0.6313 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/0.9469, allocations: 8.312 kB / 0.6313 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002999/0.9472, allocations: 107.1 kB / 0.6314 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/0.9491, allocations: 214.3 kB / 0.6316 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003058/0.9522, allocations: 0.9435 MB / 0.6325 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.724e-05/0.9523, allocations: 49 kB / 0.6326 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002578/0.9526, allocations: 73.45 kB / 0.6327 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/0.9552, allocations: 0.7157 MB / 0.6334 GB, free: 29.1 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.758e-05/0.9552, allocations: 0 / 0.6334 GB, free: 29.1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.9554, allocations: 26.19 kB / 0.6334 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.9554, allocations: 14.56 kB / 0.6334 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/0.9579, allocations: 0.5641 MB / 0.634 GB, free: 28.89 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.007415/0.9653, allocations: 3.125 MB / 0.637 GB, free: 26.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.9673, allocations: 411.8 kB / 0.6374 GB, free: 26.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003367/0.9707, allocations: 1.574 MB / 0.6389 GB, free: 25.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001096/0.9719, allocations: 262.6 kB / 0.6392 GB, free: 25.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00065/0.9726, allocations: 55.88 kB / 0.6392 GB, free: 25.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 5.17e-06/0.9726, allocations: 4 kB / 0.6392 GB, free: 25.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.003115/0.9757, allocations: 0.6006 MB / 0.6398 GB, free: 24.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.9758, allocations: 61.78 kB / 0.6399 GB, free: 24.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.9782, allocations: 0.8945 MB / 0.6408 GB, free: 24.47 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.9784, allocations: 42.23 kB / 0.6408 GB, free: 24.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006161/0.979, allocations: 492.2 kB / 0.6413 GB, free: 24.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.9792, allocations: 109.4 kB / 0.6414 GB, free: 23.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.9793, allocations: 11.2 kB / 0.6414 GB, free: 23.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.18e-05/0.9794, allocations: 330.2 kB / 0.6417 GB, free: 23.63 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000836/0.9802, allocations: 197.3 kB / 0.6419 GB, free: 23.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.9816, allocations: 406.7 kB / 0.6423 GB, free: 23.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009419/0.9826, allocations: 267.9 kB / 0.6425 GB, free: 23.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.9826, allocations: 0 / 0.6425 GB, free: 23.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0026/0.9852, allocations: 0.7202 MB / 0.6432 GB, free: 22.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006143/0.9858, allocations: 2.292 MB / 0.6455 GB, free: 20.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.9859, allocations: 4.938 kB / 0.6455 GB, free: 20.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.608e-05/0.9859, allocations: 12.72 kB / 0.6455 GB, free: 20.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009764/0.9869, allocations: 142.6 kB / 0.6456 GB, free: 20.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.51e-05/0.987, allocations: 14.59 kB / 0.6456 GB, free: 20.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.9885, allocations: 70.95 kB / 0.6457 GB, free: 20.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.9886, allocations: 36.62 kB / 0.6457 GB, free: 20.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.9887, allocations: 5.25 kB / 0.6457 GB, free: 20.34 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001773/0.9904, allocations: 0.5533 MB / 0.6463 GB, free: 20.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.9905, allocations: 9.188 kB / 0.6463 GB, free: 20.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.9905, allocations: 10.5 kB / 0.6463 GB, free: 20.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007739/0.9913, allocations: 124.6 kB / 0.6464 GB, free: 20.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.33e-05/0.9913, allocations: 16.14 kB / 0.6464 GB, free: 20.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.9927, allocations: 56.17 kB / 0.6465 GB, free: 20.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-05/0.9928, allocations: 31.25 kB / 0.6465 GB, free: 20.08 MB / 0.4981 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008721/0.9937, allocations: 366.3 kB / 0.6469 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002672/0.994, allocations: 96.83 kB / 0.647 GB, free: 19.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/0.9962, allocations: 0.6174 MB / 0.6476 GB, free: 19.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.9963, allocations: 2.625 kB / 0.6476 GB, free: 19.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.9963, allocations: 5.859 kB / 0.6476 GB, free: 19.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001736/0.9981, allocations: 0.6782 MB / 0.6482 GB, free: 19.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003879/1.002, allocations: 1.465 MB / 0.6497 GB, free: 18.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/1.002, allocations: 0.875 kB / 0.6497 GB, free: 18.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006946/1.003, allocations: 93.05 kB / 0.6498 GB, free: 18.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/1.003, allocations: 3.25 kB / 0.6498 GB, free: 18.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-05/1.003, allocations: 17.45 kB / 0.6498 GB, free: 18.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.824e-06/1.003, allocations: 3.156 kB / 0.6498 GB, free: 18.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/1.003, allocations: 4 kB / 0.6498 GB, free: 18.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003128/1.006, allocations: 0.9426 MB / 0.6507 GB, free: 17.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006073/1.007, allocations: 229.1 kB / 0.6509 GB, free: 17.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/1.007, allocations: 12.03 kB / 0.6509 GB, free: 17.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/1.008, allocations: 57.09 kB / 0.651 GB, free: 17.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/1.008, allocations: 31.62 kB / 0.651 GB, free: 17.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.592e-05/1.008, allocations: 19.88 kB / 0.651 GB, free: 17.51 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001485/1.01, allocations: 0.6211 MB / 0.6516 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.01e-07/1.01, allocations: 4 kB / 0.6517 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002791/1.013, allocations: 0.5132 MB / 0.6522 GB, free: 17.12 MB / 0.4981 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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004852/1.017, allocations: 2.011 MB / 0.6541 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003368/1.021, allocations: 0.8752 MB / 0.655 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/1.021, allocations: 4.062 kB / 0.655 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/1.022, allocations: 240.4 kB / 0.6552 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004165/1.026, allocations: 470.3 kB / 0.6557 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008439/1.035, allocations: 6.444 MB / 0.6619 GB, free: 25.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/1.036, allocations: 1.07 MB / 0.663 GB, free: 24.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0021/1.038, allocations: 236.5 kB / 0.6632 GB, free: 24.88 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008763/1.039, allocations: 379.1 kB / 0.6636 GB, free: 24.61 MB / 0.5137 GB Notification: Performance of SimCode: time 1.413e-06/1.039, allocations: 1.312 kB / 0.6636 GB, free: 24.61 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1132/1.152, allocations: 27.75 MB / 0.6907 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002774/1.153, allocations: 218.4 kB / 0.6909 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.239/5.391, allocations: 0 / 0.6909 GB, free: 15.71 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1) Environment - environmentSimulation: