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.001327/0.001327, allocations: 99.86 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.001629/0.001629, 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.276/2.276, 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/package.mo): time 0.9221/0.9221, allocations: 132.2 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003808, allocations: 17.19 kB / 0.5033 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7366/0.737, allocations: 81.57 MB / 0.583 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.05047/0.7876, allocations: 25.6 MB / 0.608 GB, free: 1.781 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0234/0.811, allocations: 8.891 MB / 0.6166 GB, free: 10.72 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003588/0.8147, allocations: 36.38 kB / 0.6167 GB, free: 10.71 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004495/0.8192, allocations: 0.5476 MB / 0.6172 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009361/0.8286, allocations: 1.334 MB / 0.6185 GB, free: 9.16 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007265/0.8359, allocations: 1.335 MB / 0.6198 GB, free: 8.301 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006987/0.8429, allocations: 1.664 MB / 0.6215 GB, free: 7.207 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002669/0.8456, allocations: 0.6944 MB / 0.6221 GB, free: 6.777 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003713/0.8494, allocations: 0.7891 MB / 0.6229 GB, free: 6.289 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001914/0.8513, allocations: 0.4928 MB / 0.6234 GB, free: 5.996 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002116/0.8516, allocations: 37.19 kB / 0.6234 GB, free: 5.996 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003319/0.8549, allocations: 0.5586 MB / 0.624 GB, free: 5.773 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005441/0.8554, allocations: 241.5 kB / 0.6242 GB, free: 5.617 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006847/0.8561, allocations: 237.9 kB / 0.6244 GB, free: 5.477 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003476/0.8596, allocations: 1.344 MB / 0.6257 GB, free: 4.559 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.8597, allocations: 3.938 kB / 0.6257 GB, free: 4.555 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.8597, allocations: 0 / 0.6257 GB, free: 4.555 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.025e-05/0.8597, allocations: 0 / 0.6257 GB, free: 4.555 MB / 462.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.004684/0.8644, allocations: 1.316 MB / 0.627 GB, free: 3.332 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.804e-05/0.8645, allocations: 8.031 kB / 0.627 GB, free: 3.324 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002591/0.8648, allocations: 106.5 kB / 0.6271 GB, free: 3.211 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/0.8664, allocations: 210.4 kB / 0.6273 GB, free: 3.004 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002937/0.8693, allocations: 0.9565 MB / 0.6283 GB, free: 2.008 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-05/0.8694, allocations: 49.31 kB / 0.6283 GB, free: 1.957 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.8696, allocations: 64 kB / 0.6284 GB, free: 1.895 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/0.8717, allocations: 0.7089 MB / 0.6291 GB, free: 1.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.8717, allocations: 0 / 0.6291 GB, free: 1.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.831e-05/0.8718, allocations: 28 kB / 0.6291 GB, free: 1.133 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.8719, allocations: 12 kB / 0.6291 GB, free: 1.121 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.8739, allocations: 0.5633 MB / 0.6297 GB, free: 0.5547 MB / 462.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.007163/0.881, allocations: 3.12 MB / 0.6327 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.8828, allocations: 417 kB / 0.6331 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0036/0.8864, allocations: 1.587 MB / 0.6346 GB, free: 11.06 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/0.8875, allocations: 255.2 kB / 0.6349 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007071/0.8883, allocations: 55.48 kB / 0.6349 GB, free: 10.74 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 6.572e-06/0.8883, allocations: 0 / 0.6349 GB, free: 10.74 MB / 478.1 MB Notification: Performance of matching and sorting (n=32): time 0.002901/0.8912, allocations: 0.5921 MB / 0.6355 GB, free: 10.14 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.657e-05/0.8913, allocations: 55.41 kB / 0.6356 GB, free: 10.08 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/0.8935, allocations: 0.9149 MB / 0.6365 GB, free: 9.141 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.8936, allocations: 37.7 kB / 0.6365 GB, free: 9.098 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007187/0.8944, allocations: 495.7 kB / 0.637 GB, free: 8.605 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.8946, allocations: 102.6 kB / 0.6371 GB, free: 8.504 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.8946, allocations: 8 kB / 0.6371 GB, free: 8.496 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.8948, allocations: 326 kB / 0.6374 GB, free: 8.172 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007762/0.8956, allocations: 193 kB / 0.6376 GB, free: 7.984 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.8967, allocations: 411.5 kB / 0.638 GB, free: 7.496 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009989/0.8977, allocations: 267.8 kB / 0.6382 GB, free: 7.23 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.8977, allocations: 0 / 0.6382 GB, free: 7.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002773/0.9005, allocations: 0.7179 MB / 0.6389 GB, free: 6.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001615/0.9021, allocations: 2.297 MB / 0.6412 GB, free: 4.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/0.9022, allocations: 8 kB / 0.6412 GB, free: 4.012 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.947e-05/0.9022, allocations: 12 kB / 0.6412 GB, free: 4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009279/0.9032, allocations: 143.7 kB / 0.6413 GB, free: 3.859 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.183e-05/0.9032, allocations: 15.92 kB / 0.6413 GB, free: 3.844 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/0.9049, allocations: 68.5 kB / 0.6414 GB, free: 3.777 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.9051, allocations: 35.98 kB / 0.6414 GB, free: 3.742 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.9051, allocations: 8 kB / 0.6414 GB, free: 3.734 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001826/0.907, allocations: 0.5598 MB / 0.642 GB, free: 3.168 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.907, allocations: 8.562 kB / 0.642 GB, free: 3.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.907, allocations: 12 kB / 0.642 GB, free: 3.148 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007223/0.9078, allocations: 123.8 kB / 0.6421 GB, free: 3.027 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.988e-05/0.9078, allocations: 15.98 kB / 0.6421 GB, free: 3.012 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.9092, allocations: 56.52 kB / 0.6422 GB, free: 2.957 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.9093, allocations: 31.98 kB / 0.6422 GB, free: 2.926 MB / 478.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 ($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.000985/0.9103, allocations: 364.8 kB / 0.6426 GB, free: 2.559 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/0.9106, allocations: 90.88 kB / 0.6427 GB, free: 2.469 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/0.913, allocations: 0.6151 MB / 0.6433 GB, free: 1.848 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/0.9131, allocations: 7.984 kB / 0.6433 GB, free: 1.84 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.9131, allocations: 0 / 0.6433 GB, free: 1.84 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001805/0.9149, allocations: 0.6866 MB / 0.6439 GB, free: 1.086 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004357/0.9193, allocations: 1.458 MB / 0.6454 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.9193, allocations: 0 / 0.6454 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007178/0.9201, allocations: 95.81 kB / 0.6455 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.69e-05/0.9201, allocations: 4.125 kB / 0.6455 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.904e-05/0.9202, allocations: 12 kB / 0.6455 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.285e-05/0.9202, allocations: 7.984 kB / 0.6455 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.9202, allocations: 0 / 0.6455 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003084/0.9233, allocations: 0.9333 MB / 0.6464 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007388/0.9241, allocations: 223.8 kB / 0.6466 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/0.9243, allocations: 15.98 kB / 0.6466 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009913/0.9253, allocations: 55.95 kB / 0.6467 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.9254, allocations: 35.91 kB / 0.6467 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.417e-05/0.9255, allocations: 23.98 kB / 0.6467 GB, free: 14.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001491/0.927, allocations: 0.6219 MB / 0.6473 GB, free: 13.44 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.064e-06/0.9271, allocations: 0 / 0.6473 GB, free: 13.44 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003145/0.9302, allocations: 0.5185 MB / 0.6478 GB, free: 12.92 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 (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.004952/0.9352, allocations: 2.014 MB / 0.6498 GB, free: 10.87 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003102/0.9383, allocations: 0.8708 MB / 0.6507 GB, free: 9.977 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.9384, allocations: 0 / 0.6507 GB, free: 9.977 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000949/0.9393, allocations: 245 kB / 0.6509 GB, free: 9.738 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003789/0.9431, allocations: 470.9 kB / 0.6513 GB, free: 9.285 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009266/0.9524, allocations: 6.439 MB / 0.6576 GB, free: 2.656 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009951/0.9535, allocations: 1.075 MB / 0.6587 GB, free: 1.551 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001928/0.9554, allocations: 239.1 kB / 0.6589 GB, free: 1.316 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008702/0.9563, allocations: 379.3 kB / 0.6593 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of SimCode: time 2.695e-06/0.9564, allocations: 0 / 0.6593 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08195/1.038, allocations: 27.74 MB / 0.6864 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003228/1.039, allocations: 209.5 kB / 0.6866 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.997/5.035, allocations: 11.05 kB / 0.6866 GB, free: 5.406 MB / 0.5137 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/linux/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) Environment - environmentSimulation: