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: translateModel(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") translateModel(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009132/0.0009131, allocations: 91.84 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.006574/0.006575, allocations: 169.9 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.42/1.42, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7553/0.7553, allocations: 132.4 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004031, allocations: 12 kB / 0.504 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5053/0.5057, allocations: 81.58 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.03056/0.5364, allocations: 29.66 MB / 0.6126 GB, free: 14.09 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01522/0.5516, allocations: 10.13 MB / 0.6225 GB, free: 5.965 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/0.5535, allocations: 42.41 kB / 0.6226 GB, free: 5.945 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.5555, allocations: 0.5999 MB / 0.6231 GB, free: 5.488 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004843/0.5604, allocations: 1.348 MB / 0.6245 GB, free: 4.434 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00361/0.564, allocations: 1.177 MB / 0.6256 GB, free: 3.602 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005928/0.57, allocations: 3.826 MB / 0.6293 GB, free: 1.508 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001839/0.5718, allocations: 0.7671 MB / 0.6301 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002607/0.5745, allocations: 0.9646 MB / 0.631 GB, free: 15.83 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.576, allocations: 0.7543 MB / 0.6318 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002352/0.5763, allocations: 43.94 kB / 0.6318 GB, free: 15.03 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.5785, allocations: 0.7332 MB / 0.6325 GB, free: 14.29 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004943/0.579, allocations: 267 kB / 0.6328 GB, free: 14.03 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.5808, allocations: 0.5379 MB / 0.6333 GB, free: 13.48 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004765/0.5856, allocations: 1.799 MB / 0.6351 GB, free: 11.68 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.5856, allocations: 0 / 0.6351 GB, free: 11.68 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.5856, allocations: 0 / 0.6351 GB, free: 11.68 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.197e-05/0.5857, allocations: 0 / 0.6351 GB, free: 11.68 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.003616/0.5894, allocations: 1.298 MB / 0.6363 GB, free: 10.32 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.5894, allocations: 8.031 kB / 0.6363 GB, free: 10.31 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.5907, allocations: 211.3 kB / 0.6365 GB, free: 10.11 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/0.5931, allocations: 1.004 MB / 0.6375 GB, free: 9.062 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.955e-05/0.5932, allocations: 49.31 kB / 0.6376 GB, free: 9.016 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.5934, allocations: 68 kB / 0.6376 GB, free: 8.949 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.5949, allocations: 0.709 MB / 0.6383 GB, free: 8.215 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.595, allocations: 8 kB / 0.6383 GB, free: 8.207 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.645e-05/0.5951, allocations: 20 kB / 0.6384 GB, free: 8.188 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.5951, allocations: 16 kB / 0.6384 GB, free: 8.172 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.5964, allocations: 0.5399 MB / 0.6389 GB, free: 7.629 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.00476/0.6011, allocations: 3.081 MB / 0.6419 GB, free: 4.355 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.6021, allocations: 411.4 kB / 0.6423 GB, free: 3.945 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006162/0.6028, allocations: 201.3 kB / 0.6425 GB, free: 3.746 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002182/0.605, allocations: 1.51 MB / 0.644 GB, free: 2.062 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005754/0.6056, allocations: 239.2 kB / 0.6442 GB, free: 1.816 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002164/0.6058, allocations: 51.58 kB / 0.6442 GB, free: 1.766 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 3.146e-06/0.6058, allocations: 0 / 0.6442 GB, free: 1.766 MB / 478.1 MB Notification: Performance of matching and sorting (n=32): time 0.00144/0.6073, allocations: 0.5686 MB / 0.6448 GB, free: 1.191 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.6073, allocations: 67.33 kB / 0.6449 GB, free: 1.113 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.6085, allocations: 0.8877 MB / 0.6457 GB, free: 208 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.6085, allocations: 33.7 kB / 0.6458 GB, free: 168 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004324/0.609, allocations: 491.8 kB / 0.6462 GB, free: 15.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.6091, allocations: 110.4 kB / 0.6463 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.403e-05/0.6092, allocations: 53.69 kB / 0.6464 GB, free: 15.51 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.6093, allocations: 326 kB / 0.6467 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005059/0.6098, allocations: 205 kB / 0.6469 GB, free: 14.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006902/0.6105, allocations: 406.7 kB / 0.6473 GB, free: 14.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.6117, allocations: 0.6075 MB / 0.6479 GB, free: 13.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.6117, allocations: 3.938 kB / 0.6479 GB, free: 13.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001395/0.6131, allocations: 0.7292 MB / 0.6486 GB, free: 13.06 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002033/0.6133, allocations: 293.7 kB / 0.6489 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.6133, allocations: 8 kB / 0.6489 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.6134, allocations: 8 kB / 0.6489 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/0.6139, allocations: 127.8 kB / 0.649 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.591e-05/0.6139, allocations: 15.94 kB / 0.649 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005925/0.6145, allocations: 52.61 kB / 0.6491 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/0.6146, allocations: 36 kB / 0.6491 GB, free: 12.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/0.6146, allocations: 8 kB / 0.6491 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001077/0.6157, allocations: 0.5713 MB / 0.6497 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.6157, allocations: 4 kB / 0.6497 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.6157, allocations: 8.562 kB / 0.6497 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.6161, allocations: 131.8 kB / 0.6498 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.6162, allocations: 11.94 kB / 0.6498 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/0.6167, allocations: 60.45 kB / 0.6499 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.134e-05/0.6167, allocations: 31.94 kB / 0.6499 GB, free: 11.62 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.0004753/0.6172, allocations: 360.9 kB / 0.6503 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.6173, allocations: 90.88 kB / 0.6503 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.6187, allocations: 0.5883 MB / 0.6509 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.6187, allocations: 11.92 kB / 0.6509 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6187, allocations: 0 / 0.6509 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001035/0.6198, allocations: 0.667 MB / 0.6516 GB, free: 9.824 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.00224/0.622, allocations: 1.436 MB / 0.653 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.622, allocations: 7.938 kB / 0.653 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/0.6224, allocations: 75.88 kB / 0.6531 GB, free: 8.227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.6224, allocations: 4 kB / 0.6531 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.6225, allocations: 12 kB / 0.6531 GB, free: 8.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.6225, allocations: 8.109 kB / 0.6531 GB, free: 8.203 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6225, allocations: 4 kB / 0.6531 GB, free: 8.199 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.6241, allocations: 0.8542 MB / 0.6539 GB, free: 7.316 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002788/0.6244, allocations: 219.7 kB / 0.6541 GB, free: 7.082 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.6245, allocations: 8 kB / 0.6541 GB, free: 7.074 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004733/0.625, allocations: 48.02 kB / 0.6542 GB, free: 7.027 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.79e-05/0.6251, allocations: 35.94 kB / 0.6542 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/0.6251, allocations: 15.98 kB / 0.6542 GB, free: 6.977 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007826/0.6259, allocations: 0.6102 MB / 0.6548 GB, free: 6.355 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6259, allocations: 0 / 0.6548 GB, free: 6.355 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001551/0.6275, allocations: 0.5029 MB / 0.6553 GB, free: 5.852 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.0008278/0.6283, allocations: 367.6 kB / 0.6557 GB, free: 5.496 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00177/0.6301, allocations: 0.863 MB / 0.6565 GB, free: 4.609 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6301, allocations: 1.25 kB / 0.6565 GB, free: 4.609 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005166/0.6306, allocations: 235.9 kB / 0.6567 GB, free: 4.379 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/0.6328, allocations: 461.6 kB / 0.6572 GB, free: 3.938 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.6358, allocations: 2.003 MB / 0.6591 GB, free: 1.887 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006281/0.6365, allocations: 1.048 MB / 0.6602 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008534/0.6373, allocations: 223.4 kB / 0.6604 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.6375, allocations: 79.41 kB / 0.6605 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of SimCode: time 4.3e-07/0.6375, allocations: 0 / 0.6605 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of Templates: time 0.03739/0.6749, allocations: 19.12 MB / 0.6791 GB, free: 13.7 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.makefile (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 & ./IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)