Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001154/0.001154, allocations: 113.6 kB / 17.78 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.00127, allocations: 203.9 kB / 18.74 MB, free: 4.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2107/0.2107, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 80.06 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3514, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002353/0.3538, allocations: 1.209 MB / 0.5322 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007278/0.3545, allocations: 337.8 kB / 0.5325 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.042e-05/0.3546, allocations: 4 kB / 0.5325 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.3546, allocations: 0 / 0.5325 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.258e-05/0.3547, allocations: 0 / 0.5325 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004809/0.3551, allocations: 55.94 kB / 0.5325 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.088e-05/0.3552, allocations: 9.266 kB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.166e-05/0.3553, allocations: 1.344 kB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.914e-05/0.3553, allocations: 1.344 kB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.3556, allocations: 35.47 kB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.426e-06/0.3556, allocations: 0 / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-06/0.3556, allocations: 6.094 kB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.3556, allocations: 3.984 kB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.3556, allocations: 7.875 kB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 6.308e-05/0.3557, allocations: 2.188 kB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3557, allocations: 0 / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3557, allocations: 0 / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.3557, allocations: 0 / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003387/0.3561, allocations: 311.9 kB / 0.5329 GB, free: 11.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3561, allocations: 10.88 kB / 0.5329 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.3562, allocations: 4.875 kB / 0.5329 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.3563, allocations: 164.4 kB / 0.5331 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.3563, allocations: 4.375 kB / 0.5331 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.3563, allocations: 384 / 0.5331 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.3564, allocations: 33.62 kB / 0.5331 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3564, allocations: 192 / 0.5331 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3565, allocations: 3.938 kB / 0.5331 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3565, allocations: 0 / 0.5331 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.826e-05/0.3565, allocations: 5.953 kB / 0.5331 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.3569, allocations: 381.8 kB / 0.5335 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.156e-05/0.357, allocations: 178.3 kB / 0.5337 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.713e-05/0.357, allocations: 81.8 kB / 0.5337 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.3571, allocations: 75.28 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.3571, allocations: 109.8 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.3571, allocations: 1.625 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.829e-05/0.3572, allocations: 33.64 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.3573, allocations: 126.7 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.744e-05/0.3574, allocations: 91.42 kB / 0.5342 GB, free: 10.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.3574, allocations: 27.33 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.3575, allocations: 80.14 kB / 0.5343 GB, free: 10.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/0.3575, allocations: 128 / 0.5343 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.3575, allocations: 19.39 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3576, allocations: 316.5 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.036e-05/0.3576, allocations: 0 / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-06/0.3576, allocations: 5.594 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.928e-05/0.3577, allocations: 10.67 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3577, allocations: 0 / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001002/0.3578, allocations: 39.02 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3578, allocations: 8.719 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3578, allocations: 0 / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3578, allocations: 1.375 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.809e-05/0.3579, allocations: 1.375 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.3579, allocations: 0 / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.488e-05/0.3579, allocations: 9.156 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.3579, allocations: 0 / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * 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 8.238e-05/0.358, allocations: 190.4 kB / 0.5348 GB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.3581, allocations: 110.4 kB / 0.5349 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.086e-05/0.3581, allocations: 113.2 kB / 0.535 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.232e-05/0.3582, allocations: 176.3 kB / 0.5352 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.565e-05/0.3582, allocations: 185.6 kB / 0.5354 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.638e-05/0.3583, allocations: 177.6 kB / 0.5356 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.3585, allocations: 402.5 kB / 0.5359 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.321e-05/0.3586, allocations: 110.3 kB / 0.5361 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.57e-05/0.3586, allocations: 109 kB / 0.5362 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.113e-05/0.3587, allocations: 181.6 kB / 0.5363 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.227e-05/0.3587, allocations: 177.6 kB / 0.5365 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.383e-05/0.3588, allocations: 176.3 kB / 0.5367 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.499e-05/0.3588, allocations: 185.6 kB / 0.5368 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.359, allocations: 311.8 kB / 0.5371 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.504e-05/0.359, allocations: 178.4 kB / 0.5373 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.479e-05/0.3591, allocations: 181.6 kB / 0.5375 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.089e-05/0.3592, allocations: 114.3 kB / 0.5376 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.3593, allocations: 181.6 kB / 0.5378 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.3593, allocations: 106.3 kB / 0.5379 GB, free: 6.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.708e-05/0.3593, allocations: 75.28 kB / 0.5379 GB, free: 6.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3593, allocations: 1.375 kB / 0.5379 GB, free: 6.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.3596, allocations: 0 / 0.5379 GB, free: 6.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0001423/0.3597, allocations: 169.7 kB / 0.5381 GB, free: 6.336 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.424e-05/0.3598, allocations: 6.844 kB / 0.5381 GB, free: 6.332 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3598, allocations: 0 / 0.5381 GB, free: 6.332 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.3598, allocations: 3.938 kB / 0.5381 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.3601, allocations: 468.6 kB / 0.5386 GB, free: 5.871 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000212/0.3604, allocations: 151.7 kB / 0.5387 GB, free: 5.699 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.3606, allocations: 0.6743 MB / 0.5394 GB, free: 5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.831e-05/0.3606, allocations: 0 / 0.5394 GB, free: 5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.934e-05/0.3606, allocations: 7.438 kB / 0.5394 GB, free: 4.992 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3606, allocations: 0 / 0.5394 GB, free: 4.992 MB / 398.1 MB Notification: Performance of Templates: time 0.001951/0.3626, allocations: 170.9 kB / 0.5395 GB, free: 4.895 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1)