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.001284/0.001284, allocations: 117.5 kB / 16.37 MB, free: 6.016 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.001377/0.001377, allocations: 192.6 kB / 17.3 MB, free: 5.613 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.261/1.261, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7744/0.7744, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.91 kB / 0.5068 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3223, allocations: 80.91 MB / 0.5858 GB, free: 25.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.02213/0.3445, allocations: 30.66 MB / 0.6157 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01452/0.3591, allocations: 10.28 MB / 0.6257 GB, free: 1.543 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.3609, allocations: 47.75 kB / 0.6258 GB, free: 1.496 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00212/0.3631, allocations: 0.6892 MB / 0.6265 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004061/0.3672, allocations: 1.485 MB / 0.6279 GB, free: 15.32 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003052/0.3703, allocations: 1.337 MB / 0.6292 GB, free: 13.99 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003911/0.3742, allocations: 2.976 MB / 0.6321 GB, free: 11.01 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001409/0.3756, allocations: 0.9725 MB / 0.6331 GB, free: 10.02 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/0.3782, allocations: 1.168 MB / 0.6342 GB, free: 8.852 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.3793, allocations: 0.8012 MB / 0.635 GB, free: 8.047 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.3794, allocations: 104 kB / 0.6351 GB, free: 7.945 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.3811, allocations: 0.8113 MB / 0.6359 GB, free: 7.133 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003384/0.3814, allocations: 350.9 kB / 0.6362 GB, free: 6.789 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005928/0.382, allocations: 0.6103 MB / 0.6368 GB, free: 6.176 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002413/0.3844, allocations: 1.978 MB / 0.6388 GB, free: 4.195 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3845, allocations: 0 / 0.6388 GB, free: 4.195 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3845, allocations: 0 / 0.6388 GB, free: 4.195 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.3845, allocations: 4 kB / 0.6388 GB, free: 4.191 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.002378/0.3869, allocations: 1.538 MB / 0.6403 GB, free: 2.598 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3869, allocations: 13.11 kB / 0.6403 GB, free: 2.586 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000946/0.3879, allocations: 207.3 kB / 0.6405 GB, free: 2.383 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.3897, allocations: 1.046 MB / 0.6415 GB, free: 1.293 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.903e-05/0.3897, allocations: 57.28 kB / 0.6415 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.3898, allocations: 72 kB / 0.6416 GB, free: 1.168 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.3911, allocations: 0.7215 MB / 0.6423 GB, free: 428 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.3911, allocations: 4 kB / 0.6423 GB, free: 424 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.545e-05/0.3912, allocations: 28 kB / 0.6424 GB, free: 396 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.972e-05/0.3912, allocations: 33.31 kB / 0.6424 GB, free: 360 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.3923, allocations: 0.5359 MB / 0.6429 GB, free: 15.82 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.003857/0.3961, allocations: 3.156 MB / 0.646 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.3971, allocations: 447.3 kB / 0.6464 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003718/0.3975, allocations: 200.5 kB / 0.6466 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00181/0.3994, allocations: 1.532 MB / 0.6481 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004878/0.3999, allocations: 248.2 kB / 0.6483 GB, free: 9.871 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 2.245e-06/0.3999, allocations: 0 / 0.6483 GB, free: 9.871 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001257/0.4011, allocations: 0.5784 MB / 0.6489 GB, free: 9.285 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.4012, allocations: 59.39 kB / 0.649 GB, free: 9.215 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.4022, allocations: 0.9413 MB / 0.6499 GB, free: 8.254 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.4023, allocations: 29.7 kB / 0.6499 GB, free: 8.219 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003809/0.4027, allocations: 0.5074 MB / 0.6504 GB, free: 7.707 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.4028, allocations: 134.2 kB / 0.6505 GB, free: 7.574 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.403, allocations: 130.1 kB / 0.6507 GB, free: 7.441 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.4031, allocations: 326 kB / 0.651 GB, free: 7.117 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.4035, allocations: 203.1 kB / 0.6512 GB, free: 6.914 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005408/0.4041, allocations: 419.8 kB / 0.6516 GB, free: 6.414 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009014/0.405, allocations: 0.6 MB / 0.6521 GB, free: 5.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.405, allocations: 4 kB / 0.6521 GB, free: 5.727 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001237/0.4062, allocations: 0.711 MB / 0.6528 GB, free: 5.008 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.4063, allocations: 12.16 kB / 0.6529 GB, free: 4.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.4063, allocations: 4 kB / 0.6529 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.4063, allocations: 12 kB / 0.6529 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005804/0.4069, allocations: 143.7 kB / 0.653 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.4069, allocations: 15.92 kB / 0.653 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005489/0.4075, allocations: 79.95 kB / 0.6531 GB, free: 4.746 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-05/0.4075, allocations: 31.98 kB / 0.6531 GB, free: 4.715 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005904/0.4081, allocations: 413.2 kB / 0.6535 GB, free: 4.309 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004509/0.4086, allocations: 391.8 kB / 0.6539 GB, free: 3.828 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007364/0.4093, allocations: 0.5537 MB / 0.6544 GB, free: 3.191 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.846e-06/0.4094, allocations: 0 / 0.6544 GB, free: 3.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001046/0.4104, allocations: 0.6566 MB / 0.6551 GB, free: 2.527 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.4104, allocations: 14.38 kB / 0.6551 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4104, allocations: 8 kB / 0.6551 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.4105, allocations: 12 kB / 0.6551 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004831/0.4109, allocations: 139.7 kB / 0.6552 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.411, allocations: 12 kB / 0.6553 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004814/0.4115, allocations: 60.22 kB / 0.6553 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/0.4115, allocations: 28 kB / 0.6553 GB, free: 2.262 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.0001727/0.4117, allocations: 222.9 kB / 0.6556 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.4118, allocations: 102.7 kB / 0.6557 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.413, allocations: 0.6241 MB / 0.6563 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.4131, allocations: 4 kB / 0.6563 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.4131, allocations: 0 / 0.6563 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008723/0.4139, allocations: 0.6703 MB / 0.6569 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/0.4161, allocations: 1.435 MB / 0.6583 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.4161, allocations: 4 kB / 0.6583 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000396/0.4165, allocations: 87.81 kB / 0.6584 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.4165, allocations: 4 kB / 0.6584 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.4165, allocations: 11.98 kB / 0.6584 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.4166, allocations: 4 kB / 0.6584 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4166, allocations: 4.125 kB / 0.6584 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.4179, allocations: 0.8832 MB / 0.6593 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003401/0.4183, allocations: 231.7 kB / 0.6595 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.4184, allocations: 11.98 kB / 0.6595 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004163/0.4188, allocations: 19.98 kB / 0.6595 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.848e-05/0.4189, allocations: 40.22 kB / 0.6596 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.419, allocations: 19.92 kB / 0.6596 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007568/0.4197, allocations: 0.6429 MB / 0.6602 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.4197, allocations: 0 / 0.6602 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001359/0.4211, allocations: 0.5223 MB / 0.6607 GB, free: 12.52 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.0007677/0.4219, allocations: 378.7 kB / 0.6611 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001519/0.4234, allocations: 0.7758 MB / 0.6619 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4234, allocations: 0 / 0.6619 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004354/0.4239, allocations: 229 kB / 0.6621 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/0.4257, allocations: 0.5118 MB / 0.6626 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.4284, allocations: 1.749 MB / 0.6643 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000601/0.429, allocations: 1.08 MB / 0.6653 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007989/0.4298, allocations: 255.2 kB / 0.6656 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.43, allocations: 87.41 kB / 0.6657 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of SimCode: time 7.71e-07/0.43, allocations: 0 / 0.6657 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of Templates: time 0.03148/0.4615, allocations: 20.29 MB / 0.6855 GB, free: 3.438 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)