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.00126/0.00126, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001226/0.001226, allocations: 194.9 kB / 16.25 MB, free: 6.633 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9353/0.9353, allocations: 135.6 MB / 425.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 67.94 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1797, allocations: 81.02 MB / 0.5845 GB, free: 4.344 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.3146/0.4943, allocations: 30.41 MB / 0.6142 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01207/0.5065, allocations: 10.19 MB / 0.6241 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.5083, allocations: 40.88 kB / 0.6242 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001865/0.5102, allocations: 0.628 MB / 0.6248 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003717/0.514, allocations: 1.378 MB / 0.6261 GB, free: 30.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002971/0.5169, allocations: 1.229 MB / 0.6273 GB, free: 29.56 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003369/0.5203, allocations: 3.01 MB / 0.6303 GB, free: 28.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.5215, allocations: 0.975 MB / 0.6312 GB, free: 27.71 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/0.5239, allocations: 1.183 MB / 0.6324 GB, free: 27.17 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009222/0.5249, allocations: 0.8476 MB / 0.6332 GB, free: 26.78 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.525, allocations: 105.7 kB / 0.6333 GB, free: 26.78 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/0.5268, allocations: 0.8066 MB / 0.6341 GB, free: 26.55 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003056/0.5271, allocations: 358 kB / 0.6344 GB, free: 26.37 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005401/0.5277, allocations: 0.6192 MB / 0.635 GB, free: 25.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001975/0.5297, allocations: 1.962 MB / 0.637 GB, free: 25.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5297, allocations: 0 / 0.637 GB, free: 25.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5297, allocations: 0 / 0.637 GB, free: 25.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.484e-05/0.5297, allocations: 3.125 kB / 0.637 GB, free: 25.23 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.002302/0.532, allocations: 1.544 MB / 0.6385 GB, free: 24.19 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.5321, allocations: 9.656 kB / 0.6385 GB, free: 24.19 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009336/0.533, allocations: 203.3 kB / 0.6387 GB, free: 24.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.5346, allocations: 1.056 MB / 0.6397 GB, free: 23.47 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-05/0.5347, allocations: 56.44 kB / 0.6398 GB, free: 23.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.844e-05/0.5348, allocations: 64.81 kB / 0.6398 GB, free: 23.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.5359, allocations: 0.733 MB / 0.6405 GB, free: 23.1 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.536, allocations: 0 / 0.6405 GB, free: 23.1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.056e-05/0.536, allocations: 26.19 kB / 0.6406 GB, free: 23.08 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.5361, allocations: 21.78 kB / 0.6406 GB, free: 23.08 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000973/0.537, allocations: 0.5489 MB / 0.6411 GB, free: 22.88 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.003332/0.5404, allocations: 3.152 MB / 0.6442 GB, free: 20.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009695/0.5414, allocations: 450.8 kB / 0.6446 GB, free: 20.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003412/0.5417, allocations: 208.7 kB / 0.6448 GB, free: 20.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/0.5431, allocations: 1.541 MB / 0.6463 GB, free: 19.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004628/0.5436, allocations: 256.6 kB / 0.6466 GB, free: 19.03 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000198/0.5438, allocations: 54.53 kB / 0.6466 GB, free: 19 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 1.763e-06/0.5438, allocations: 0 / 0.6466 GB, free: 19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001153/0.545, allocations: 0.5884 MB / 0.6472 GB, free: 18.76 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.545, allocations: 60.3 kB / 0.6473 GB, free: 18.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008817/0.5459, allocations: 0.9238 MB / 0.6482 GB, free: 18.31 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.546, allocations: 38.11 kB / 0.6482 GB, free: 18.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.5463, allocations: 0.5009 MB / 0.6487 GB, free: 17.87 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.137e-05/0.5464, allocations: 131.1 kB / 0.6488 GB, free: 17.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.5466, allocations: 141.1 kB / 0.6489 GB, free: 17.69 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.793e-05/0.5466, allocations: 325.5 kB / 0.6493 GB, free: 17.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004134/0.5471, allocations: 207 kB / 0.6495 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/0.5476, allocations: 423.5 kB / 0.6499 GB, free: 16.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008846/0.5485, allocations: 0.6066 MB / 0.6505 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.5485, allocations: 1.406 kB / 0.6505 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001247/0.5497, allocations: 0.7202 MB / 0.6512 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.5498, allocations: 7.25 kB / 0.6512 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.5498, allocations: 9.844 kB / 0.6512 GB, free: 16.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.5498, allocations: 9.531 kB / 0.6512 GB, free: 16.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/0.5504, allocations: 146.4 kB / 0.6513 GB, free: 16.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.5504, allocations: 13.05 kB / 0.6513 GB, free: 16.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005555/0.551, allocations: 48.42 kB / 0.6514 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.88e-05/0.551, allocations: 43.84 kB / 0.6514 GB, free: 16.22 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007186/0.5518, allocations: 413.7 kB / 0.6518 GB, free: 16.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005268/0.5523, allocations: 395.6 kB / 0.6522 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000827/0.5531, allocations: 0.5666 MB / 0.6527 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.596e-06/0.5532, allocations: 1.125 kB / 0.6527 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.001229/0.5544, allocations: 0.6648 MB / 0.6534 GB, free: 15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.5544, allocations: 15.28 kB / 0.6534 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.5544, allocations: 5.781 kB / 0.6534 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.5545, allocations: 10.06 kB / 0.6534 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005169/0.555, allocations: 146.3 kB / 0.6536 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.555, allocations: 13.95 kB / 0.6536 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005239/0.5555, allocations: 43.47 kB / 0.6536 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.509e-05/0.5556, allocations: 31.66 kB / 0.6537 GB, free: 14.95 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.0001773/0.5558, allocations: 220.7 kB / 0.6539 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.5559, allocations: 104.6 kB / 0.654 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.5572, allocations: 0.6255 MB / 0.6546 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.5573, allocations: 6.203 kB / 0.6546 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5573, allocations: 4.516 kB / 0.6546 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009382/0.5582, allocations: 0.6772 MB / 0.6552 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.5605, allocations: 1.449 MB / 0.6567 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.5605, allocations: 1.969 kB / 0.6567 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004153/0.5609, allocations: 84.81 kB / 0.6567 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.5609, allocations: 3.344 kB / 0.6567 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.201e-05/0.561, allocations: 17.75 kB / 0.6568 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.561, allocations: 3.438 kB / 0.6568 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.561, allocations: 5.125 kB / 0.6568 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.5625, allocations: 0.901 MB / 0.6577 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.5628, allocations: 232.9 kB / 0.6579 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.5629, allocations: 9.766 kB / 0.6579 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000474/0.5634, allocations: 39.33 kB / 0.6579 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.682e-05/0.5635, allocations: 35.92 kB / 0.658 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.665e-05/0.5635, allocations: 19.89 kB / 0.658 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008255/0.5644, allocations: 0.6328 MB / 0.6586 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5644, allocations: 4 kB / 0.6586 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001625/0.566, allocations: 0.522 MB / 0.6591 GB, free: 12.1 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 (46): * Single equations (assignments): 41 * 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.0008853/0.5669, allocations: 376.9 kB / 0.6595 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001855/0.5687, allocations: 0.831 MB / 0.6603 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.5688, allocations: 1.312 kB / 0.6603 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004837/0.5692, allocations: 236.6 kB / 0.6605 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/0.5713, allocations: 0.5045 MB / 0.661 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/0.5745, allocations: 2.155 MB / 0.6631 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006871/0.5752, allocations: 1.076 MB / 0.6642 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001038/0.5763, allocations: 248.2 kB / 0.6644 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.5765, allocations: 87.44 kB / 0.6645 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/0.5765, allocations: 0 / 0.6645 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of Templates: time 0.03784/0.6143, allocations: 20.07 MB / 0.6841 GB, free: 3.559 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)