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.001158/0.001163, allocations: 99.97 kB / 16.35 MB, free: 5.828 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.001188/0.001188, allocations: 191.1 kB / 17.29 MB, free: 5.484 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.797/0.797, allocations: 132.2 MB / 423.3 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 71.89 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3815, allocations: 80.18 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.0238/0.4053, allocations: 30.68 MB / 0.6114 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01458/0.4199, allocations: 10.27 MB / 0.6215 GB, free: 5.195 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00182/0.4218, allocations: 47.75 kB / 0.6215 GB, free: 5.148 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002095/0.4239, allocations: 0.6931 MB / 0.6222 GB, free: 4.453 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00414/0.4281, allocations: 1.487 MB / 0.6236 GB, free: 2.965 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003342/0.4315, allocations: 1.332 MB / 0.6249 GB, free: 1.641 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004176/0.4357, allocations: 2.974 MB / 0.6278 GB, free: 14.66 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/0.4371, allocations: 0.9725 MB / 0.6288 GB, free: 13.68 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002571/0.4397, allocations: 1.167 MB / 0.6299 GB, free: 12.51 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.4408, allocations: 0.8089 MB / 0.6307 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.4409, allocations: 104 kB / 0.6308 GB, free: 11.59 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.4426, allocations: 0.8036 MB / 0.6316 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003508/0.443, allocations: 350.9 kB / 0.6319 GB, free: 10.45 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006192/0.4436, allocations: 0.6102 MB / 0.6325 GB, free: 9.832 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002419/0.4461, allocations: 1.974 MB / 0.6345 GB, free: 7.855 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4461, allocations: 0 / 0.6345 GB, free: 7.855 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4461, allocations: 0 / 0.6345 GB, free: 7.855 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.4461, allocations: 4 kB / 0.6345 GB, free: 7.852 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.002562/0.4487, allocations: 1.542 MB / 0.636 GB, free: 6.254 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.4487, allocations: 8.031 kB / 0.636 GB, free: 6.246 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.4497, allocations: 211.2 kB / 0.6362 GB, free: 6.039 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.4517, allocations: 1.046 MB / 0.6372 GB, free: 4.949 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.664e-05/0.4517, allocations: 53.31 kB / 0.6373 GB, free: 4.898 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.4518, allocations: 71.98 kB / 0.6373 GB, free: 4.828 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.4531, allocations: 0.7254 MB / 0.638 GB, free: 4.074 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.4531, allocations: 4 kB / 0.638 GB, free: 4.07 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.125e-05/0.4532, allocations: 24 kB / 0.6381 GB, free: 4.047 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.799e-05/0.4533, allocations: 29.31 kB / 0.6381 GB, free: 4.016 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.4544, allocations: 0.5359 MB / 0.6386 GB, free: 3.48 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.004102/0.4585, allocations: 3.163 MB / 0.6417 GB, free: 140 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.4596, allocations: 449.6 kB / 0.6421 GB, free: 15.69 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003868/0.46, allocations: 188.8 kB / 0.6423 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001926/0.4619, allocations: 1.54 MB / 0.6438 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005295/0.4625, allocations: 252.1 kB / 0.6441 GB, free: 13.53 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 2.395e-06/0.4625, allocations: 0 / 0.6441 GB, free: 13.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001342/0.4638, allocations: 0.5824 MB / 0.6446 GB, free: 12.94 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.4639, allocations: 55.41 kB / 0.6447 GB, free: 12.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.4651, allocations: 0.9451 MB / 0.6456 GB, free: 11.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.4651, allocations: 33.7 kB / 0.6456 GB, free: 11.87 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004071/0.4655, allocations: 0.4996 MB / 0.6461 GB, free: 11.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.4656, allocations: 134.2 kB / 0.6463 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.4658, allocations: 130.1 kB / 0.6464 GB, free: 11.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.466, allocations: 326 kB / 0.6467 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/0.4664, allocations: 207.1 kB / 0.6469 GB, free: 10.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/0.4671, allocations: 420.2 kB / 0.6473 GB, free: 10.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009705/0.468, allocations: 0.5972 MB / 0.6479 GB, free: 9.391 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.4681, allocations: 4 kB / 0.6479 GB, free: 9.387 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001304/0.4694, allocations: 0.7149 MB / 0.6486 GB, free: 8.664 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.4694, allocations: 12.16 kB / 0.6486 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.4694, allocations: 4 kB / 0.6486 GB, free: 8.648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.4694, allocations: 12 kB / 0.6486 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005861/0.47, allocations: 151.7 kB / 0.6487 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.4701, allocations: 8 kB / 0.6487 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005961/0.4707, allocations: 75.92 kB / 0.6488 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.06e-05/0.4707, allocations: 35.92 kB / 0.6489 GB, free: 8.371 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006123/0.4714, allocations: 413.2 kB / 0.6492 GB, free: 7.965 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004753/0.4718, allocations: 387.8 kB / 0.6496 GB, free: 7.496 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007862/0.4726, allocations: 0.5538 MB / 0.6502 GB, free: 6.859 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.4727, allocations: 0 / 0.6502 GB, free: 6.859 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00109/0.4737, allocations: 0.6527 MB / 0.6508 GB, free: 6.199 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.4738, allocations: 16.05 kB / 0.6508 GB, free: 6.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.4738, allocations: 8 kB / 0.6508 GB, free: 6.176 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.4738, allocations: 12 kB / 0.6508 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/0.4743, allocations: 139.8 kB / 0.651 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/0.4743, allocations: 11.98 kB / 0.651 GB, free: 6.016 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005192/0.4749, allocations: 56.23 kB / 0.651 GB, free: 5.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.755e-05/0.4749, allocations: 31.98 kB / 0.6511 GB, free: 5.93 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.0001957/0.4751, allocations: 231.9 kB / 0.6513 GB, free: 5.695 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.4753, allocations: 102.7 kB / 0.6514 GB, free: 5.594 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.4766, allocations: 0.6124 MB / 0.652 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.4766, allocations: 4 kB / 0.652 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.4766, allocations: 0 / 0.652 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000932/0.4775, allocations: 0.6703 MB / 0.6526 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002261/0.4798, allocations: 1.447 MB / 0.654 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.4798, allocations: 4 kB / 0.6541 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/0.4802, allocations: 83.88 kB / 0.6541 GB, free: 2.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.4803, allocations: 4 kB / 0.6541 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.4803, allocations: 15.98 kB / 0.6542 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.4803, allocations: 4.125 kB / 0.6542 GB, free: 2.605 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4803, allocations: 4 kB / 0.6542 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/0.4818, allocations: 0.8831 MB / 0.655 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003678/0.4822, allocations: 231.7 kB / 0.6552 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.4823, allocations: 8 kB / 0.6553 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004268/0.4828, allocations: 19.98 kB / 0.6553 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.766e-05/0.4829, allocations: 40.22 kB / 0.6553 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-05/0.4829, allocations: 19.98 kB / 0.6553 GB, free: 1.355 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008115/0.4837, allocations: 0.6467 MB / 0.656 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4837, allocations: 0 / 0.656 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001469/0.4852, allocations: 0.5223 MB / 0.6565 GB, free: 180 kB / 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 (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.0008473/0.4861, allocations: 374.9 kB / 0.6568 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001649/0.4877, allocations: 0.7757 MB / 0.6576 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4878, allocations: 0 / 0.6576 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004586/0.4882, allocations: 233.1 kB / 0.6578 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.4901, allocations: 0.5047 MB / 0.6583 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/0.493, allocations: 1.744 MB / 0.66 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006419/0.4937, allocations: 1.08 MB / 0.6611 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008501/0.4946, allocations: 249.5 kB / 0.6613 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.4948, allocations: 87.41 kB / 0.6614 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.252e-06/0.4948, allocations: 0 / 0.6614 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.03441/0.5292, allocations: 20.29 MB / 0.6812 GB, free: 7.082 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)