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.00116/0.00116, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001189/0.001189, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.02/1.02, allocations: 135.1 MB / 425.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 56.28 kB / 0.5047 GB, free: 5.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1762, allocations: 80.92 MB / 0.5837 GB, free: 5.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.3851/0.5613, allocations: 30.5 MB / 0.6135 GB, free: 35.36 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01436/0.5757, allocations: 10.32 MB / 0.6236 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002695/0.5785, allocations: 41.62 kB / 0.6236 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002658/0.5812, allocations: 0.6095 MB / 0.6242 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004736/0.586, allocations: 1.375 MB / 0.6255 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00358/0.5896, allocations: 1.182 MB / 0.6267 GB, free: 30.08 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004979/0.5945, allocations: 3.929 MB / 0.6305 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.5961, allocations: 0.8292 MB / 0.6313 GB, free: 28.31 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/0.5985, allocations: 1.016 MB / 0.6323 GB, free: 27.89 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/0.5997, allocations: 0.8231 MB / 0.6331 GB, free: 27.54 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.5999, allocations: 51.06 kB / 0.6332 GB, free: 27.54 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001941/0.6018, allocations: 0.7476 MB / 0.6339 GB, free: 27.31 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003359/0.6022, allocations: 302.4 kB / 0.6342 GB, free: 27.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006392/0.6028, allocations: 0.5659 MB / 0.6348 GB, free: 26.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002911/0.6057, allocations: 1.913 MB / 0.6366 GB, free: 26.13 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.6057, allocations: 0 / 0.6366 GB, free: 26.13 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.133e-06/0.6058, allocations: 0 / 0.6366 GB, free: 26.13 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.038e-05/0.6058, allocations: 0 / 0.6366 GB, free: 26.13 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.003166/0.609, allocations: 1.539 MB / 0.6381 GB, free: 25.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.772e-05/0.609, allocations: 11.56 kB / 0.6381 GB, free: 25.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.6102, allocations: 208.6 kB / 0.6383 GB, free: 25.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.6121, allocations: 1.052 MB / 0.6394 GB, free: 24.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.03e-05/0.6122, allocations: 53.94 kB / 0.6394 GB, free: 24.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.6123, allocations: 70.19 kB / 0.6395 GB, free: 24.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.6137, allocations: 0.7303 MB / 0.6402 GB, free: 24 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/0.6137, allocations: 6.562 kB / 0.6402 GB, free: 24 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-05/0.6138, allocations: 25.25 kB / 0.6402 GB, free: 23.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.083e-05/0.6139, allocations: 25.83 kB / 0.6402 GB, free: 23.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.615, allocations: 0.5441 MB / 0.6408 GB, free: 23.79 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.004224/0.6192, allocations: 3.151 MB / 0.6439 GB, free: 21.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.6203, allocations: 454.5 kB / 0.6443 GB, free: 21.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003871/0.6207, allocations: 202 kB / 0.6445 GB, free: 21.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001804/0.6225, allocations: 1.542 MB / 0.646 GB, free: 20.06 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005009/0.623, allocations: 261.1 kB / 0.6462 GB, free: 19.94 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002667/0.6233, allocations: 52.73 kB / 0.6463 GB, free: 19.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.194e-06/0.6233, allocations: 0 / 0.6463 GB, free: 19.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001321/0.6246, allocations: 0.5831 MB / 0.6469 GB, free: 19.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.6247, allocations: 56.75 kB / 0.6469 GB, free: 19.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.6259, allocations: 0.9244 MB / 0.6478 GB, free: 19.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.497e-05/0.626, allocations: 36.89 kB / 0.6478 GB, free: 19.19 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004263/0.6264, allocations: 0.4992 MB / 0.6483 GB, free: 18.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.6265, allocations: 133.1 kB / 0.6485 GB, free: 18.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.6268, allocations: 137.1 kB / 0.6486 GB, free: 18.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.961e-05/0.6269, allocations: 326.6 kB / 0.6489 GB, free: 18.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/0.6273, allocations: 208 kB / 0.6491 GB, free: 18.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007354/0.6281, allocations: 417.3 kB / 0.6495 GB, free: 17.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.6293, allocations: 0.6044 MB / 0.6501 GB, free: 17.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.6293, allocations: 1.5 kB / 0.6501 GB, free: 17.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001618/0.6309, allocations: 0.7191 MB / 0.6508 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/0.6309, allocations: 7.969 kB / 0.6508 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/0.631, allocations: 6.188 kB / 0.6508 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/0.631, allocations: 9.656 kB / 0.6508 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006462/0.6317, allocations: 149.6 kB / 0.651 GB, free: 17.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.293e-05/0.6317, allocations: 8.125 kB / 0.651 GB, free: 17.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008192/0.6325, allocations: 58.27 kB / 0.651 GB, free: 17.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.622e-05/0.6326, allocations: 34.73 kB / 0.6511 GB, free: 17.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008354/0.6334, allocations: 415.6 kB / 0.6515 GB, free: 16.92 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004798/0.6339, allocations: 396.5 kB / 0.6518 GB, free: 16.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008243/0.6348, allocations: 0.5612 MB / 0.6524 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.01e-06/0.6348, allocations: 6.219 kB / 0.6524 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.001341/0.6361, allocations: 0.6546 MB / 0.653 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.6362, allocations: 11.16 kB / 0.653 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.6362, allocations: 6.5 kB / 0.653 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.6362, allocations: 9.438 kB / 0.653 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005559/0.6368, allocations: 138.5 kB / 0.6532 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/0.6368, allocations: 18.39 kB / 0.6532 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007081/0.6375, allocations: 46.56 kB / 0.6532 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.499e-05/0.6376, allocations: 31.14 kB / 0.6533 GB, free: 15.87 MB / 0.4981 GB 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 (71): * Single equations (assignments): 70 * 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.0002586/0.6379, allocations: 226.1 kB / 0.6535 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.638, allocations: 107.2 kB / 0.6536 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/0.6398, allocations: 0.6151 MB / 0.6542 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/0.6398, allocations: 9.203 kB / 0.6542 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.6399, allocations: 0.6562 kB / 0.6542 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001142/0.641, allocations: 0.6733 MB / 0.6549 GB, free: 14.87 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 postOpt removeSimpleEquations (simulation): time 0.003348/0.6444, allocations: 1.505 MB / 0.6563 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.6444, allocations: 1.156 kB / 0.6563 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004359/0.6448, allocations: 81.64 kB / 0.6564 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.6448, allocations: 8.719 kB / 0.6564 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.099e-05/0.6449, allocations: 11.73 kB / 0.6564 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.6449, allocations: 3.422 kB / 0.6564 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.6449, allocations: 1.344 kB / 0.6564 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.6466, allocations: 0.8904 MB / 0.6573 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004428/0.6471, allocations: 228.9 kB / 0.6575 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.6472, allocations: 9.641 kB / 0.6575 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005283/0.6478, allocations: 43.11 kB / 0.6576 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.6479, allocations: 30.86 kB / 0.6576 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-05/0.648, allocations: 24.78 kB / 0.6576 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001132/0.6491, allocations: 0.6398 MB / 0.6582 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6491, allocations: 1.125 kB / 0.6582 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002193/0.6513, allocations: 0.5252 MB / 0.6588 GB, free: 12.95 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 (45): * Single equations (assignments): 40 * 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.001063/0.6524, allocations: 368.5 kB / 0.6591 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002111/0.6545, allocations: 0.7826 MB / 0.6599 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6545, allocations: 1.312 kB / 0.6599 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000539/0.6551, allocations: 233.8 kB / 0.6601 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/0.6576, allocations: 483.3 kB / 0.6606 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003995/0.6616, allocations: 2.135 MB / 0.6626 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008812/0.6625, allocations: 1.081 MB / 0.6637 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001479/0.664, allocations: 247.1 kB / 0.6639 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/0.6643, allocations: 85.81 kB / 0.664 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of SimCode: time 8.72e-07/0.6643, allocations: 0 / 0.664 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of Templates: time 0.0491/0.7134, allocations: 19.49 MB / 0.6831 GB, free: 4.598 MB / 0.4981 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)