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.001414/0.001414, allocations: 108.8 kB / 16.36 MB, free: 6.336 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.001513/0.001513, allocations: 193.5 kB / 17.29 MB, free: 5.883 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.768/0.768, allocations: 135.1 MB / 426.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.89 kB / 0.5067 GB, free: 7.727 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3404, allocations: 80.91 MB / 0.5858 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.02133/0.3617, allocations: 30.66 MB / 0.6157 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01377/0.3755, allocations: 10.28 MB / 0.6257 GB, free: 1.574 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.3772, allocations: 47.75 kB / 0.6258 GB, free: 1.527 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002006/0.3792, allocations: 0.6892 MB / 0.6264 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00393/0.3832, allocations: 1.488 MB / 0.6279 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002996/0.3862, allocations: 1.34 MB / 0.6292 GB, free: 14.01 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003531/0.3897, allocations: 2.969 MB / 0.6321 GB, free: 11.04 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.3909, allocations: 0.9764 MB / 0.6331 GB, free: 10.05 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002169/0.3931, allocations: 1.165 MB / 0.6342 GB, free: 8.883 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009397/0.3941, allocations: 0.8128 MB / 0.635 GB, free: 8.066 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.3942, allocations: 104 kB / 0.6351 GB, free: 7.965 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.3957, allocations: 0.8035 MB / 0.6359 GB, free: 7.16 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.396, allocations: 354.9 kB / 0.6362 GB, free: 6.812 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005879/0.3966, allocations: 0.6142 MB / 0.6368 GB, free: 6.195 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002208/0.3989, allocations: 1.971 MB / 0.6387 GB, free: 4.223 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.3989, allocations: 7.938 kB / 0.6388 GB, free: 4.215 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3989, allocations: 0 / 0.6388 GB, free: 4.215 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.3989, allocations: 0 / 0.6388 GB, free: 4.215 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.002381/0.4013, allocations: 1.538 MB / 0.6403 GB, free: 2.621 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.4013, allocations: 13.11 kB / 0.6403 GB, free: 2.609 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009635/0.4023, allocations: 207.3 kB / 0.6405 GB, free: 2.406 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/0.4041, allocations: 1.05 MB / 0.6415 GB, free: 1.312 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.066e-05/0.4042, allocations: 53.31 kB / 0.6415 GB, free: 1.262 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.4043, allocations: 75.98 kB / 0.6416 GB, free: 1.188 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.4055, allocations: 0.7215 MB / 0.6423 GB, free: 448 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.4055, allocations: 0 / 0.6423 GB, free: 448 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.878e-05/0.4056, allocations: 32 kB / 0.6423 GB, free: 416 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.78e-05/0.4056, allocations: 21.31 kB / 0.6424 GB, free: 392 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.4067, allocations: 0.5321 MB / 0.6429 GB, free: 15.85 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.003815/0.4105, allocations: 3.163 MB / 0.646 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.4115, allocations: 435.4 kB / 0.6464 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003877/0.4119, allocations: 200.5 kB / 0.6466 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001804/0.4138, allocations: 1.544 MB / 0.6481 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004866/0.4143, allocations: 248.2 kB / 0.6483 GB, free: 9.898 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 1.964e-06/0.4143, allocations: 0 / 0.6483 GB, free: 9.898 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001299/0.4156, allocations: 0.5822 MB / 0.6489 GB, free: 9.309 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.4156, allocations: 55.41 kB / 0.6489 GB, free: 9.242 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.4167, allocations: 0.9373 MB / 0.6499 GB, free: 8.285 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/0.4168, allocations: 37.7 kB / 0.6499 GB, free: 8.242 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/0.4172, allocations: 0.5074 MB / 0.6504 GB, free: 7.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.982e-05/0.4173, allocations: 126.2 kB / 0.6505 GB, free: 7.605 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.4175, allocations: 130.1 kB / 0.6506 GB, free: 7.473 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.4176, allocations: 330 kB / 0.651 GB, free: 7.145 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/0.418, allocations: 203.1 kB / 0.6511 GB, free: 6.941 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005556/0.4186, allocations: 419.7 kB / 0.6515 GB, free: 6.441 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000939/0.4195, allocations: 0.6039 MB / 0.6521 GB, free: 5.754 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4195, allocations: 0 / 0.6521 GB, free: 5.754 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001278/0.4208, allocations: 0.715 MB / 0.6528 GB, free: 5.031 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4208, allocations: 8 kB / 0.6528 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.4209, allocations: 8 kB / 0.6529 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.4209, allocations: 8 kB / 0.6529 GB, free: 5.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005597/0.4214, allocations: 139.8 kB / 0.653 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.4215, allocations: 23.92 kB / 0.653 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005623/0.422, allocations: 72.02 kB / 0.6531 GB, free: 4.777 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/0.4221, allocations: 40.02 kB / 0.6531 GB, free: 4.738 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005965/0.4227, allocations: 413.2 kB / 0.6535 GB, free: 4.332 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004665/0.4232, allocations: 387.8 kB / 0.6539 GB, free: 3.855 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007565/0.424, allocations: 0.5537 MB / 0.6544 GB, free: 3.219 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.4e-06/0.424, allocations: 4 kB / 0.6544 GB, free: 3.215 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001093/0.4251, allocations: 0.6566 MB / 0.6551 GB, free: 2.551 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.4251, allocations: 11.94 kB / 0.6551 GB, free: 2.539 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.4251, allocations: 8 kB / 0.6551 GB, free: 2.531 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.4251, allocations: 8 kB / 0.6551 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/0.4256, allocations: 139.8 kB / 0.6552 GB, free: 2.387 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.4257, allocations: 11.94 kB / 0.6552 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005052/0.4262, allocations: 60.2 kB / 0.6553 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.575e-05/0.4262, allocations: 35.94 kB / 0.6553 GB, free: 2.281 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.0001745/0.4264, allocations: 221.4 kB / 0.6555 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.4265, allocations: 98.72 kB / 0.6556 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.4278, allocations: 0.6083 MB / 0.6562 GB, free: 1.348 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.4278, allocations: 8 kB / 0.6562 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4278, allocations: 0 / 0.6562 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009099/0.4288, allocations: 0.6702 MB / 0.6569 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.4309, allocations: 1.443 MB / 0.6583 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4309, allocations: 0 / 0.6583 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/0.4314, allocations: 83.88 kB / 0.6584 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.4314, allocations: 4 kB / 0.6584 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/0.4314, allocations: 12.12 kB / 0.6584 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.4314, allocations: 7.984 kB / 0.6584 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4314, allocations: 4 kB / 0.6584 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.4329, allocations: 0.8793 MB / 0.6593 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.4332, allocations: 227.7 kB / 0.6595 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.4333, allocations: 19.98 kB / 0.6595 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004245/0.4337, allocations: 23.98 kB / 0.6595 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.4338, allocations: 36.22 kB / 0.6596 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/0.4339, allocations: 19.98 kB / 0.6596 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007506/0.4346, allocations: 0.6429 MB / 0.6602 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4346, allocations: 0 / 0.6602 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001325/0.436, allocations: 0.5223 MB / 0.6607 GB, free: 12.56 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.0007668/0.4367, allocations: 388.2 kB / 0.6611 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001515/0.4383, allocations: 0.7758 MB / 0.6618 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4383, allocations: 0 / 0.6618 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004406/0.4387, allocations: 229 kB / 0.6621 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.4405, allocations: 0.5035 MB / 0.6626 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.4431, allocations: 1.742 MB / 0.6643 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005827/0.4437, allocations: 1.083 MB / 0.6653 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007654/0.4445, allocations: 245.1 kB / 0.6656 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.4447, allocations: 87.41 kB / 0.6656 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.4447, allocations: 0 / 0.6656 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of Templates: time 0.03463/0.4794, allocations: 20.31 MB / 0.6855 GB, free: 3.449 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)