Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample") translateModel(IDEAS.Fluid.Movers.Examples.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001082/0.001082, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001135/0.001135, allocations: 191.7 kB / 16.13 MB, free: 6.664 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.385/1.385, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7764/0.7764, allocations: 132.2 MB / 422.2 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 64.12 kB / 0.5011 GB, free: 4.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5149/0.5168, allocations: 80.19 MB / 0.5794 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.03291/0.5498, allocations: 30.51 MB / 0.6092 GB, free: 14.2 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01736/0.5672, allocations: 10.33 MB / 0.6193 GB, free: 5.914 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003423/0.5707, allocations: 40.59 kB / 0.6193 GB, free: 5.898 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002962/0.5736, allocations: 0.6003 MB / 0.6199 GB, free: 5.441 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005299/0.579, allocations: 1.375 MB / 0.6213 GB, free: 4.363 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003643/0.5827, allocations: 1.191 MB / 0.6224 GB, free: 3.523 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006126/0.5888, allocations: 3.925 MB / 0.6263 GB, free: 1.371 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.5904, allocations: 0.8216 MB / 0.6271 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002549/0.593, allocations: 1.013 MB / 0.6281 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.5942, allocations: 0.8283 MB / 0.6289 GB, free: 15.03 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.5944, allocations: 55.94 kB / 0.6289 GB, free: 14.98 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002254/0.5967, allocations: 0.7488 MB / 0.6297 GB, free: 14.23 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003736/0.5971, allocations: 302.9 kB / 0.6299 GB, free: 13.93 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007235/0.5978, allocations: 0.5555 MB / 0.6305 GB, free: 13.37 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002954/0.6008, allocations: 1.905 MB / 0.6323 GB, free: 11.46 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.6008, allocations: 4 kB / 0.6323 GB, free: 11.46 MB / 478.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.6008, allocations: 4 kB / 0.6323 GB, free: 11.45 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.6008, allocations: 0 / 0.6323 GB, free: 11.45 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.002821/0.6036, allocations: 1.542 MB / 0.6339 GB, free: 9.859 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.6037, allocations: 8.031 kB / 0.6339 GB, free: 9.852 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.6049, allocations: 211.3 kB / 0.6341 GB, free: 9.645 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/0.607, allocations: 1.054 MB / 0.6351 GB, free: 8.551 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.239e-05/0.6071, allocations: 49.31 kB / 0.6351 GB, free: 8.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.6072, allocations: 75.94 kB / 0.6352 GB, free: 8.426 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.6087, allocations: 0.7285 MB / 0.6359 GB, free: 7.672 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.6087, allocations: 3.938 kB / 0.6359 GB, free: 7.668 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.919e-05/0.6088, allocations: 28 kB / 0.636 GB, free: 7.641 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/0.6088, allocations: 21.31 kB / 0.636 GB, free: 7.621 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.61, allocations: 0.5438 MB / 0.6365 GB, free: 7.074 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.004741/0.6147, allocations: 3.159 MB / 0.6396 GB, free: 3.723 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.6159, allocations: 451.7 kB / 0.64 GB, free: 3.273 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004135/0.6163, allocations: 200.8 kB / 0.6402 GB, free: 3.078 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002324/0.6187, allocations: 1.553 MB / 0.6417 GB, free: 1.352 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006376/0.6193, allocations: 254.8 kB / 0.642 GB, free: 1.09 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002964/0.6196, allocations: 59.52 kB / 0.642 GB, free: 1.031 MB / 478.1 MB Notification: Performance of pre-optimization done (n=38): time 2.525e-06/0.6196, allocations: 0 / 0.642 GB, free: 1.031 MB / 478.1 MB Notification: Performance of matching and sorting (n=38): time 0.001513/0.6212, allocations: 0.5883 MB / 0.6426 GB, free: 448 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.6212, allocations: 59.16 kB / 0.6427 GB, free: 376 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.6226, allocations: 0.9257 MB / 0.6436 GB, free: 15.42 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.033e-05/0.6226, allocations: 37.7 kB / 0.6436 GB, free: 15.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/0.623, allocations: 0.4918 MB / 0.6441 GB, free: 14.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.6232, allocations: 142 kB / 0.6442 GB, free: 14.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.6234, allocations: 130.2 kB / 0.6443 GB, free: 14.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.6235, allocations: 334 kB / 0.6447 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004418/0.624, allocations: 203.4 kB / 0.6449 GB, free: 14.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006001/0.6246, allocations: 416.5 kB / 0.6452 GB, free: 13.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.6256, allocations: 0.6072 MB / 0.6458 GB, free: 12.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.6256, allocations: 4 kB / 0.6458 GB, free: 12.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00139/0.627, allocations: 0.7138 MB / 0.6465 GB, free: 12.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.627, allocations: 8.75 kB / 0.6466 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.6271, allocations: 8 kB / 0.6466 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.6271, allocations: 12 kB / 0.6466 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005958/0.6277, allocations: 143.8 kB / 0.6467 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.14e-05/0.6277, allocations: 15.92 kB / 0.6467 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006427/0.6284, allocations: 48.62 kB / 0.6468 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/0.6284, allocations: 32.06 kB / 0.6468 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006655/0.6291, allocations: 417.3 kB / 0.6472 GB, free: 11.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005166/0.6296, allocations: 396.1 kB / 0.6476 GB, free: 11.01 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008072/0.6305, allocations: 0.5573 MB / 0.6481 GB, free: 10.37 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.529e-06/0.6305, allocations: 4 kB / 0.6481 GB, free: 10.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.001147/0.6316, allocations: 0.6715 MB / 0.6488 GB, free: 9.688 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.6317, allocations: 8 kB / 0.6488 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.6317, allocations: 8 kB / 0.6488 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.931e-05/0.6317, allocations: 11.94 kB / 0.6488 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005021/0.6322, allocations: 135.8 kB / 0.6489 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.6322, allocations: 15.92 kB / 0.649 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005742/0.6328, allocations: 52.88 kB / 0.649 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.837e-05/0.6329, allocations: 31.98 kB / 0.649 GB, free: 9.43 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 (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.0001978/0.6331, allocations: 216 kB / 0.6492 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.6332, allocations: 102.7 kB / 0.6493 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.6347, allocations: 0.6187 MB / 0.6499 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.6347, allocations: 12 kB / 0.65 GB, free: 8.473 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6347, allocations: 0 / 0.65 GB, free: 8.473 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001/0.6357, allocations: 0.6778 MB / 0.6506 GB, free: 7.73 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.002635/0.6384, allocations: 1.503 MB / 0.6521 GB, free: 6.148 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.6384, allocations: 4 kB / 0.6521 GB, free: 6.145 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004128/0.6388, allocations: 75.89 kB / 0.6522 GB, free: 6.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.6388, allocations: 7.984 kB / 0.6522 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/0.6389, allocations: 12 kB / 0.6522 GB, free: 6.051 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.6389, allocations: 8.125 kB / 0.6522 GB, free: 6.043 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.6389, allocations: 3.938 kB / 0.6522 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.6404, allocations: 0.8858 MB / 0.6531 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003541/0.6408, allocations: 227.8 kB / 0.6533 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.6409, allocations: 15.98 kB / 0.6533 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004848/0.6414, allocations: 35.97 kB / 0.6533 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.599e-05/0.6415, allocations: 35.89 kB / 0.6534 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-05/0.6416, allocations: 23.92 kB / 0.6534 GB, free: 4.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008332/0.6424, allocations: 0.635 MB / 0.654 GB, free: 4.125 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6424, allocations: 4 kB / 0.654 GB, free: 4.121 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001543/0.644, allocations: 0.5184 MB / 0.6545 GB, free: 3.602 MB / 494.1 MB 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.000894/0.6449, allocations: 366.6 kB / 0.6549 GB, free: 3.242 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001688/0.6466, allocations: 0.7815 MB / 0.6556 GB, free: 2.465 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.6466, allocations: 4 kB / 0.6556 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004867/0.6471, allocations: 232.1 kB / 0.6558 GB, free: 2.234 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/0.6493, allocations: 480.2 kB / 0.6563 GB, free: 1.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003104/0.6524, allocations: 2.113 MB / 0.6584 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/0.6531, allocations: 1.08 MB / 0.6594 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001037/0.6541, allocations: 252.1 kB / 0.6597 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.6544, allocations: 87.41 kB / 0.6597 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of SimCode: time 1.052e-06/0.6544, allocations: 3.938 kB / 0.6597 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.03152/0.6859, allocations: 19.49 MB / 0.6788 GB, free: 10.98 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.sim & ./IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)