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.001105/0.001105, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00129/0.00129, allocations: 197.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2115/0.2115, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 71.88 kB / 481.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3337, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002086/0.3359, allocations: 1.208 MB / 0.5322 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000603/0.3365, allocations: 340.5 kB / 0.5325 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.406e-05/0.3365, allocations: 0 / 0.5325 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.369e-05/0.3365, allocations: 0 / 0.5325 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.619e-05/0.3366, allocations: 1.75 kB / 0.5325 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.337, allocations: 58.31 kB / 0.5326 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.412e-05/0.337, allocations: 5.438 kB / 0.5326 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.3371, allocations: 5.312 kB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.513e-05/0.3371, allocations: 2.656 kB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.3373, allocations: 37.8 kB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.175e-06/0.3373, allocations: 1.938 kB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.45e-06/0.3373, allocations: 0 / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.3373, allocations: 0 / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.3374, allocations: 9.828 kB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 7.158e-05/0.3375, allocations: 0 / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3375, allocations: 0 / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3375, allocations: 6.219 kB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.3375, 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.0002641/0.3378, allocations: 309.8 kB / 0.5329 GB, free: 11.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.3378, allocations: 10.44 kB / 0.5329 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.223e-05/0.3378, allocations: 4.875 kB / 0.5329 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.874e-05/0.3379, allocations: 164.4 kB / 0.5331 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.3379, allocations: 3.156 kB / 0.5331 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.3379, allocations: 384 / 0.5331 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.695e-05/0.338, allocations: 29.33 kB / 0.5331 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.338, allocations: 4.188 kB / 0.5331 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.338, allocations: 3.938 kB / 0.5331 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3381, allocations: 0 / 0.5331 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.639e-05/0.3381, allocations: 3.938 kB / 0.5331 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.3384, allocations: 378.6 kB / 0.5335 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.626e-05/0.3385, allocations: 178 kB / 0.5337 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.3385, allocations: 81.7 kB / 0.5337 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.3385, allocations: 75.28 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/0.3386, allocations: 111.5 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3386, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 5.986e-05/0.3387, allocations: 29.66 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.3387, allocations: 128.2 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.293e-05/0.3388, allocations: 99.47 kB / 0.5342 GB, free: 10.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.3388, allocations: 25.7 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.3389, allocations: 84.14 kB / 0.5343 GB, free: 10.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.3389, allocations: 0 / 0.5343 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.3389, allocations: 13 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.339, allocations: 310.8 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-06/0.339, allocations: 3.938 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.878e-06/0.339, allocations: 5.844 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.089e-05/0.3391, allocations: 10.36 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.3391, allocations: 0 / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001147/0.3392, allocations: 44.97 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3392, allocations: 5.375 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3392, allocations: 0 / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3392, allocations: 0 / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.583e-05/0.3393, allocations: 0 / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3393, allocations: 1.375 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.236e-05/0.3393, allocations: 7.891 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.3393, allocations: 1.375 kB / 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 9.107e-05/0.3394, allocations: 186.4 kB / 0.5348 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/0.3395, allocations: 104.9 kB / 0.5349 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.865e-05/0.3395, allocations: 117.2 kB / 0.535 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.322e-05/0.3396, allocations: 177.6 kB / 0.5352 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.821e-05/0.3397, allocations: 189.6 kB / 0.5354 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.836e-05/0.3397, allocations: 176.3 kB / 0.5356 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.34, allocations: 406.5 kB / 0.536 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.62e-05/0.34, allocations: 106.3 kB / 0.5361 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.313e-05/0.3401, allocations: 110.3 kB / 0.5362 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.058e-05/0.3401, allocations: 180.3 kB / 0.5363 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-05/0.3402, allocations: 181.6 kB / 0.5365 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.014e-05/0.3403, allocations: 189.6 kB / 0.5367 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.709e-05/0.3404, allocations: 177.6 kB / 0.5369 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.3405, allocations: 306.5 kB / 0.5371 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.503e-05/0.3406, allocations: 187.7 kB / 0.5373 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.3407, allocations: 181.6 kB / 0.5375 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.3408, allocations: 106.4 kB / 0.5376 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.3409, allocations: 180.2 kB / 0.5378 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.341, allocations: 102.4 kB / 0.5379 GB, free: 6.582 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.199e-05/0.341, allocations: 84.66 kB / 0.5379 GB, free: 6.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.341, allocations: 0 / 0.5379 GB, free: 6.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002034/0.3412, allocations: 1.375 kB / 0.538 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.000116/0.3413, allocations: 172.3 kB / 0.5381 GB, free: 6.332 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 5.384e-05/0.3414, allocations: 2.75 kB / 0.5381 GB, free: 6.332 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3414, allocations: 3.938 kB / 0.5381 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.3414, allocations: 5.312 kB / 0.5381 GB, free: 6.324 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.3418, allocations: 461.2 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.0002143/0.342, allocations: 151.8 kB / 0.5387 GB, free: 5.699 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.3423, allocations: 0.6742 MB / 0.5394 GB, free: 5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.937e-05/0.3423, allocations: 0 / 0.5394 GB, free: 5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/0.3423, allocations: 7.438 kB / 0.5394 GB, free: 4.992 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3423, allocations: 1.375 kB / 0.5394 GB, free: 4.992 MB / 398.1 MB Notification: Performance of Templates: time 0.001722/0.3441, allocations: 166.9 kB / 0.5395 GB, free: 4.898 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)