Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.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: translateModel(IDEAS.Fluid.Movers.Examples.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample") translateModel(IDEAS.Fluid.Movers.Examples.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 103.1 kB / 16.27 MB, free: 5.957 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.001476/0.001476, allocations: 188 kB / 17.19 MB, free: 5.59 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.302/1.302, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7951/0.7951, allocations: 135.2 MB / 426.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 71.89 kB / 0.506 GB, free: 8.379 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.311, allocations: 80.91 MB / 0.5851 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.02246/0.3335, allocations: 30.66 MB / 0.615 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01523/0.3488, allocations: 10.28 MB / 0.625 GB, free: 1.555 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.3502, allocations: 47.75 kB / 0.6251 GB, free: 1.508 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001961/0.3521, allocations: 0.6893 MB / 0.6258 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003694/0.3559, allocations: 1.485 MB / 0.6272 GB, free: 15.32 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.3589, allocations: 1.327 MB / 0.6285 GB, free: 14.01 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003854/0.3628, allocations: 2.971 MB / 0.6314 GB, free: 11.03 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.3642, allocations: 0.9842 MB / 0.6324 GB, free: 10.04 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.3666, allocations: 1.169 MB / 0.6335 GB, free: 8.867 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.3677, allocations: 0.8011 MB / 0.6343 GB, free: 8.062 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.3679, allocations: 100 kB / 0.6344 GB, free: 7.965 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.3695, allocations: 0.7997 MB / 0.6352 GB, free: 7.164 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003766/0.3699, allocations: 350.9 kB / 0.6355 GB, free: 6.82 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006774/0.3706, allocations: 0.618 MB / 0.6361 GB, free: 6.199 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002465/0.373, allocations: 1.94 MB / 0.638 GB, free: 4.254 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.373, allocations: 0 / 0.638 GB, free: 4.254 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3731, allocations: 3.938 kB / 0.638 GB, free: 4.25 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.3731, allocations: 0 / 0.638 GB, free: 4.25 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002595/0.3757, allocations: 1.538 MB / 0.6395 GB, free: 2.656 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.3757, allocations: 9.109 kB / 0.6395 GB, free: 2.648 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.3767, allocations: 211.3 kB / 0.6397 GB, free: 2.441 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.3786, allocations: 1.019 MB / 0.6407 GB, free: 1.379 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.547e-05/0.3786, allocations: 53.31 kB / 0.6408 GB, free: 1.328 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.3787, allocations: 71.94 kB / 0.6408 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.38, allocations: 0.7293 MB / 0.6415 GB, free: 0.5 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.38, allocations: 0 / 0.6415 GB, free: 0.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.616e-05/0.3801, allocations: 28 kB / 0.6416 GB, free: 484 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/0.3801, allocations: 21.31 kB / 0.6416 GB, free: 460 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.3813, allocations: 0.5399 MB / 0.6421 GB, free: 15.91 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 preOpt removeSimpleEquations (simulation): time 0.004104/0.3854, allocations: 3.171 MB / 0.6452 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.3865, allocations: 442.4 kB / 0.6456 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004116/0.3869, allocations: 204.5 kB / 0.6458 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001928/0.3889, allocations: 1.536 MB / 0.6473 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005186/0.3894, allocations: 252.2 kB / 0.6476 GB, free: 9.941 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 2.004e-06/0.3894, allocations: 0 / 0.6476 GB, free: 9.941 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001389/0.3908, allocations: 0.5784 MB / 0.6481 GB, free: 9.355 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.3909, allocations: 55.41 kB / 0.6482 GB, free: 9.289 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.3921, allocations: 0.9335 MB / 0.6491 GB, free: 8.336 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.114e-05/0.3922, allocations: 37.7 kB / 0.6491 GB, free: 8.293 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004592/0.3926, allocations: 0.5035 MB / 0.6496 GB, free: 7.785 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.3928, allocations: 126.2 kB / 0.6497 GB, free: 7.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.393, allocations: 130.1 kB / 0.6499 GB, free: 7.527 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3931, allocations: 330 kB / 0.6502 GB, free: 7.199 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000454/0.3936, allocations: 207.1 kB / 0.6504 GB, free: 6.992 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006346/0.3942, allocations: 415.8 kB / 0.6508 GB, free: 6.496 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.3953, allocations: 0.6078 MB / 0.6514 GB, free: 5.805 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3953, allocations: 0 / 0.6514 GB, free: 5.805 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001349/0.3967, allocations: 0.7104 MB / 0.6521 GB, free: 5.086 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3967, allocations: 12.73 kB / 0.6521 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.3967, allocations: 8 kB / 0.6521 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.3967, allocations: 12 kB / 0.6521 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005669/0.3973, allocations: 139.8 kB / 0.6522 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.3973, allocations: 15.94 kB / 0.6522 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005699/0.3979, allocations: 76 kB / 0.6523 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.427e-05/0.398, allocations: 32.06 kB / 0.6523 GB, free: 4.797 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006834/0.3987, allocations: 426 kB / 0.6527 GB, free: 4.379 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005312/0.3992, allocations: 387.8 kB / 0.6531 GB, free: 3.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000848/0.4001, allocations: 0.5576 MB / 0.6537 GB, free: 3.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.308e-06/0.4001, allocations: 4 kB / 0.6537 GB, free: 3.266 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001123/0.4012, allocations: 0.6558 MB / 0.6543 GB, free: 2.602 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4012, allocations: 8.812 kB / 0.6543 GB, free: 2.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.4013, allocations: 8 kB / 0.6543 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.4013, allocations: 12 kB / 0.6543 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005137/0.4018, allocations: 147.7 kB / 0.6545 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.4018, allocations: 11.94 kB / 0.6545 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004838/0.4023, allocations: 52.23 kB / 0.6545 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/0.4024, allocations: 35.98 kB / 0.6546 GB, free: 2.332 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 0 * 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.0001913/0.4026, allocations: 219.1 kB / 0.6548 GB, free: 2.113 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.4027, allocations: 98.72 kB / 0.6549 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.404, allocations: 0.6122 MB / 0.6555 GB, free: 1.395 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.404, allocations: 7.984 kB / 0.6555 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.404, allocations: 4 kB / 0.6555 GB, free: 1.383 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009884/0.405, allocations: 0.6664 MB / 0.6561 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.4073, allocations: 1.447 MB / 0.6575 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4073, allocations: 0 / 0.6575 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003951/0.4077, allocations: 79.89 kB / 0.6576 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.4077, allocations: 4 kB / 0.6576 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.4078, allocations: 16.11 kB / 0.6576 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4078, allocations: 4 kB / 0.6576 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.984e-06/0.4078, allocations: 7.938 kB / 0.6577 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.4093, allocations: 0.8793 MB / 0.6585 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/0.4096, allocations: 227.7 kB / 0.6587 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.4098, allocations: 12 kB / 0.6587 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000413/0.4102, allocations: 27.97 kB / 0.6588 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.4103, allocations: 39.78 kB / 0.6588 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.55e-05/0.4103, allocations: 23.98 kB / 0.6588 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008244/0.4111, allocations: 0.6467 MB / 0.6595 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.124e-06/0.4112, allocations: 0 / 0.6595 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001373/0.4125, allocations: 0.5301 MB / 0.66 GB, free: 12.59 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * 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.0007549/0.4133, allocations: 365.5 kB / 0.6603 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001661/0.415, allocations: 0.807 MB / 0.6611 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.415, allocations: 0 / 0.6611 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004573/0.4154, allocations: 237 kB / 0.6613 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/0.4173, allocations: 0.5051 MB / 0.6618 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.4202, allocations: 1.825 MB / 0.6636 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007039/0.4209, allocations: 1.076 MB / 0.6647 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/0.4211, allocations: 91.41 kB / 0.6648 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of SimCode: time 4.1e-07/0.4211, allocations: 0 / 0.6648 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of Templates: time 0.0273/0.4484, allocations: 18.19 MB / 0.6825 GB, free: 5.621 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)