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.001352/0.001352, allocations: 108 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001516/0.001516, allocations: 211.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.183/1.183, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1798/0.1798, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 71.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2485, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.001972/0.2505, allocations: 1.204 MB / 0.5328 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005548/0.2511, allocations: 338 kB / 0.5332 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.126e-05/0.2511, allocations: 0 / 0.5332 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.2511, allocations: 0 / 0.5332 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.114e-05/0.2512, allocations: 0 / 0.5332 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.2515, allocations: 58.19 kB / 0.5332 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.982e-05/0.2516, allocations: 15.89 kB / 0.5332 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.2516, allocations: 1.375 kB / 0.5332 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.541e-05/0.2516, allocations: 5.297 kB / 0.5332 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.2518, allocations: 34.75 kB / 0.5333 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.841e-06/0.2519, allocations: 0 / 0.5333 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.506e-06/0.2519, allocations: 0 / 0.5333 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.2519, allocations: 2.281 kB / 0.5333 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.831e-05/0.2519, allocations: 3.938 kB / 0.5333 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 3.866e-05/0.2519, allocations: 6.078 kB / 0.5333 GB, free: 12.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.252, allocations: 7.938 kB / 0.5333 GB, free: 12.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.252, allocations: 0 / 0.5333 GB, free: 12.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.252, allocations: 0 / 0.5333 GB, free: 12.32 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.0002418/0.2522, allocations: 315.6 kB / 0.5336 GB, free: 11.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.2523, allocations: 8.875 kB / 0.5336 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.381e-05/0.2523, allocations: 0.9375 kB / 0.5336 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.646e-05/0.2524, allocations: 163.6 kB / 0.5337 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.091e-06/0.2524, allocations: 384 / 0.5337 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.2524, allocations: 384 / 0.5337 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.787e-05/0.2525, allocations: 31.45 kB / 0.5338 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2525, allocations: 192 / 0.5338 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.2525, allocations: 5.094 kB / 0.5338 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.2525, allocations: 0 / 0.5338 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.687e-05/0.2525, allocations: 9.109 kB / 0.5338 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.2528, allocations: 375.5 kB / 0.5342 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.358e-05/0.2529, allocations: 177.1 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.2529, allocations: 81.8 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.2529, allocations: 75.28 kB / 0.5345 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.253, allocations: 117.8 kB / 0.5346 GB, free: 10.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.253, allocations: 0 / 0.5346 GB, free: 10.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 5.673e-05/0.2531, allocations: 27.33 kB / 0.5346 GB, free: 10.81 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.2531, allocations: 130.7 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.552e-05/0.2532, allocations: 91.45 kB / 0.5348 GB, free: 10.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.2532, allocations: 27.3 kB / 0.5348 GB, free: 10.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/0.2532, allocations: 87.8 kB / 0.5349 GB, free: 10.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-06/0.2532, allocations: 0 / 0.5349 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.2533, allocations: 15.34 kB / 0.5349 GB, free: 10.44 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.218e-05/0.2534, allocations: 312.5 kB / 0.5352 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-06/0.2534, allocations: 3.984 kB / 0.5352 GB, free: 10.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.539e-06/0.2534, allocations: 9.938 kB / 0.5353 GB, free: 10.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.818e-05/0.2534, allocations: 10.92 kB / 0.5353 GB, free: 10.1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2534, allocations: 4 kB / 0.5353 GB, free: 10.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.336e-05/0.2535, allocations: 38.95 kB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.2535, allocations: 5.031 kB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.2535, allocations: 0 / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2535, allocations: 0 / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.591e-05/0.2536, allocations: 1.375 kB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.2536, allocations: 1.469 kB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.936e-06/0.2536, allocations: 4 kB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-06/0.2536, allocations: 1.375 kB / 0.5353 GB, free: 10.05 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 7.641e-05/0.2537, allocations: 189 kB / 0.5355 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/0.2537, allocations: 106.3 kB / 0.5356 GB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.2538, allocations: 113.2 kB / 0.5357 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.821e-05/0.2539, allocations: 181.6 kB / 0.5359 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-05/0.2539, allocations: 181.6 kB / 0.5361 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.346e-05/0.254, allocations: 184.2 kB / 0.5362 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.2542, allocations: 402.5 kB / 0.5366 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.642e-05/0.2542, allocations: 102.4 kB / 0.5367 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.966e-05/0.2542, allocations: 110.3 kB / 0.5368 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-05/0.2543, allocations: 184.2 kB / 0.537 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.383e-05/0.2543, allocations: 181.6 kB / 0.5372 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.756e-05/0.2544, allocations: 181.6 kB / 0.5373 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.126e-05/0.2545, allocations: 177.6 kB / 0.5375 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.2546, allocations: 314.4 kB / 0.5378 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.2546, allocations: 179.7 kB / 0.538 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.737e-05/0.2547, allocations: 181.6 kB / 0.5382 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.824e-05/0.2548, allocations: 105 kB / 0.5383 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.2548, allocations: 185.6 kB / 0.5384 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.2549, allocations: 102.4 kB / 0.5385 GB, free: 6.566 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.322e-05/0.2549, allocations: 84.66 kB / 0.5386 GB, free: 6.484 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2549, allocations: 0 / 0.5386 GB, free: 6.484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001895/0.2551, allocations: 1.375 kB / 0.5386 GB, free: 6.484 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 9.23e-05/0.2552, allocations: 168.3 kB / 0.5388 GB, free: 6.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 4.365e-05/0.2552, allocations: 6.688 kB / 0.5388 GB, free: 6.316 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2552, allocations: 0 / 0.5388 GB, free: 6.316 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.2553, allocations: 5.312 kB / 0.5388 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.2556, allocations: 463.4 kB / 0.5392 GB, free: 5.859 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001942/0.2558, allocations: 186.8 kB / 0.5394 GB, free: 5.648 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.256, allocations: 0.6703 MB / 0.5401 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.375e-05/0.256, allocations: 7.438 kB / 0.5401 GB, free: 4.945 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.256, allocations: 0 / 0.5401 GB, free: 4.945 MB / 398.1 MB Notification: Performance of Templates: time 0.001201/0.2572, allocations: 322.8 kB / 0.5404 GB, free: 4.797 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)