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.001228/0.001229, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001368, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 246.9 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.223/0.223, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 75.88 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3249, 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.00226/0.3272, allocations: 1.207 MB / 0.5322 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006333/0.3278, allocations: 341.4 kB / 0.5325 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.068e-05/0.3278, allocations: 3.938 kB / 0.5325 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.595e-05/0.3279, allocations: 1.281 kB / 0.5325 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.313e-05/0.3279, allocations: 0 / 0.5325 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.3283, allocations: 57.91 kB / 0.5325 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.66e-05/0.3284, allocations: 7.641 kB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.3284, allocations: 1.312 kB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.639e-05/0.3285, allocations: 1.031 kB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.3287, allocations: 39.17 kB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.384e-06/0.3287, allocations: 0 / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.088e-06/0.3287, allocations: 0 / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.227e-06/0.3287, allocations: 1.312 kB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.883e-05/0.3287, allocations: 7.875 kB / 0.5326 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 4.432e-05/0.3288, allocations: 5.344 kB / 0.5326 GB, free: 12.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3288, allocations: 5.562 kB / 0.5326 GB, free: 12.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3288, allocations: 0 / 0.5326 GB, free: 12.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.3288, allocations: 0 / 0.5326 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.0002756/0.3291, allocations: 310.7 kB / 0.5329 GB, free: 11.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3291, allocations: 9.688 kB / 0.5329 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.3292, allocations: 2.406 kB / 0.5329 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.884e-05/0.3293, allocations: 160.4 kB / 0.5331 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.603e-06/0.3293, allocations: 384 / 0.5331 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.3293, allocations: 2.375 kB / 0.5331 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.3e-05/0.3294, allocations: 35.33 kB / 0.5331 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3294, allocations: 192 / 0.5331 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.3294, allocations: 13.8 kB / 0.5331 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3294, allocations: 0 / 0.5331 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.809e-05/0.3295, allocations: 5.828 kB / 0.5331 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.3298, allocations: 369.2 kB / 0.5335 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.394e-05/0.3299, allocations: 182.7 kB / 0.5337 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.659e-05/0.3299, allocations: 80.14 kB / 0.5337 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.3299, allocations: 75.28 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.33, allocations: 111 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.33, allocations: 0 / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.178e-05/0.33, allocations: 27.8 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.3301, allocations: 130.7 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.632e-05/0.3302, allocations: 95.83 kB / 0.5342 GB, free: 10.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.3302, allocations: 25.7 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.3302, allocations: 83.8 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.3302, allocations: 5.875 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.3303, allocations: 15.56 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.3304, allocations: 310.8 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.238e-06/0.3304, allocations: 12.05 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.749e-06/0.3304, allocations: 1.844 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.784e-05/0.3304, allocations: 6.797 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3304, allocations: 0 / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.056e-05/0.3305, allocations: 39.3 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.3305, allocations: 3.938 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.247e-06/0.3306, allocations: 1.938 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3306, allocations: 0 / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.268e-05/0.3306, allocations: 1.969 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.3306, allocations: 8.031 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.049e-05/0.3306, allocations: 0 / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.3307, allocations: 1.875 kB / 0.5346 GB, free: 10.06 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.313e-05/0.3307, allocations: 193 kB / 0.5348 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.664e-05/0.3308, allocations: 103 kB / 0.5349 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.484e-05/0.3309, allocations: 107.9 kB / 0.535 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.89e-05/0.3309, allocations: 190 kB / 0.5352 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.697e-05/0.331, allocations: 176.3 kB / 0.5354 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.554e-05/0.3311, allocations: 186.2 kB / 0.5356 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.3313, allocations: 402.9 kB / 0.5359 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.032e-05/0.3313, allocations: 101 kB / 0.536 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.189e-05/0.3314, allocations: 114.9 kB / 0.5362 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.092e-05/0.3314, allocations: 184.2 kB / 0.5363 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.06e-05/0.3315, allocations: 181.5 kB / 0.5365 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.472e-05/0.3315, allocations: 177.9 kB / 0.5367 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.333e-05/0.3316, allocations: 180.2 kB / 0.5368 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.3317, allocations: 311.8 kB / 0.5371 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.934e-05/0.3318, allocations: 183.4 kB / 0.5373 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.246e-05/0.3319, allocations: 177.5 kB / 0.5375 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.332, allocations: 109 kB / 0.5376 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.763e-05/0.3321, allocations: 185.9 kB / 0.5378 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.3321, allocations: 102.2 kB / 0.5379 GB, free: 6.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.767e-05/0.3321, allocations: 80.31 kB / 0.5379 GB, free: 6.492 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3321, allocations: 0 / 0.5379 GB, free: 6.492 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002113/0.3324, allocations: 1.406 kB / 0.5379 GB, free: 6.492 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.0001123/0.3325, allocations: 172.2 kB / 0.5381 GB, free: 6.324 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 5.196e-05/0.3325, allocations: 2.938 kB / 0.5381 GB, free: 6.324 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3325, allocations: 3.938 kB / 0.5381 GB, free: 6.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/0.3325, allocations: 1.562 kB / 0.5381 GB, free: 6.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.3329, allocations: 467.3 kB / 0.5386 GB, free: 5.863 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000211/0.3331, allocations: 160.9 kB / 0.5387 GB, free: 5.684 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.3333, allocations: 0.6702 MB / 0.5394 GB, free: 4.988 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.51e-05/0.3334, allocations: 0 / 0.5394 GB, free: 4.988 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.571e-05/0.3334, allocations: 8.938 kB / 0.5394 GB, free: 4.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3334, allocations: 7.938 kB / 0.5394 GB, free: 4.973 MB / 398.1 MB Notification: Performance of Templates: time 0.001722/0.3351, allocations: 169.3 kB / 0.5395 GB, free: 4.879 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)