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.001051/0.001051, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001107/0.001107, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2047/0.2047, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 75.88 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.115, allocations: 62.44 MB / 481.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002198/0.1172, allocations: 1.206 MB / 482.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005668/0.1178, allocations: 342.7 kB / 483 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.145e-05/0.1178, allocations: 0 / 483 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.244e-05/0.1178, allocations: 0 / 483 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.566e-05/0.1178, allocations: 0 / 483 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.1182, allocations: 59.81 kB / 483.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.969e-05/0.1183, allocations: 3.938 kB / 483.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.1183, allocations: 8 kB / 483.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.649e-05/0.1184, allocations: 0 / 483.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.1186, allocations: 39.95 kB / 483.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.033e-06/0.1186, allocations: 0 / 483.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.338e-06/0.1186, allocations: 0 / 483.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.928e-06/0.1186, allocations: 0 / 483.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.564e-05/0.1186, allocations: 0 / 483.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.598e-05/0.1187, allocations: 11.92 kB / 483.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1187, allocations: 0 / 483.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1187, allocations: 0 / 483.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1187, allocations: 4 kB / 483.1 MB, free: 2.863 MB / 350.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.0002382/0.119, allocations: 311.6 kB / 483.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.119, allocations: 8.031 kB / 483.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.119, allocations: 0.9375 kB / 483.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.975e-05/0.1191, allocations: 164.4 kB / 483.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.1191, allocations: 384 / 483.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.1191, allocations: 4.375 kB / 483.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.558e-05/0.1192, allocations: 26.27 kB / 483.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.1192, allocations: 192 / 483.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.1192, allocations: 7.938 kB / 483.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1192, allocations: 4 kB / 483.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.506e-05/0.1193, allocations: 3.938 kB / 483.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002696/0.1195, allocations: 379.5 kB / 484 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.015e-05/0.1196, allocations: 177 kB / 484.2 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.796e-05/0.1197, allocations: 84.14 kB / 484.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.1197, allocations: 75.28 kB / 484.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.1197, allocations: 109.8 kB / 484.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1197, allocations: 0 / 484.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 5.768e-05/0.1198, allocations: 29.7 kB / 484.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.1198, allocations: 126.7 kB / 484.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.527e-05/0.1199, allocations: 97.84 kB / 484.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.1199, allocations: 25.7 kB / 484.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.21e-05/0.12, allocations: 84.14 kB / 484.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-06/0.12, allocations: 0 / 484.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.12, allocations: 13.72 kB / 484.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.691e-05/0.1201, allocations: 310.8 kB / 485.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-06/0.1201, allocations: 0 / 485.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.9e-06/0.1201, allocations: 4 kB / 485.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.728e-05/0.1201, allocations: 16.98 kB / 485.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1201, allocations: 0 / 485.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.657e-05/0.1202, allocations: 41.62 kB / 485.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.1202, allocations: 8 kB / 485.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1203, allocations: 0 / 485.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1203, allocations: 3.938 kB / 485.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.541e-05/0.1203, allocations: 0 / 485.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1203, allocations: 0 / 485.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.365e-05/0.1203, allocations: 11.84 kB / 485.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-06/0.1203, allocations: 4.031 kB / 485.2 MB, free: 0.543 MB / 350.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.521e-05/0.1204, allocations: 185.1 kB / 485.4 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.545e-05/0.1205, allocations: 104.9 kB / 485.5 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.057e-05/0.1205, allocations: 116.1 kB / 485.6 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.927e-05/0.1206, allocations: 184.2 kB / 485.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-05/0.1207, allocations: 180.3 kB / 486 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.001e-05/0.1207, allocations: 180.3 kB / 486.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.1209, allocations: 409.1 kB / 486.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-05/0.1209, allocations: 101 kB / 486.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.207e-05/0.121, allocations: 104.9 kB / 486.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.127e-05/0.121, allocations: 180.3 kB / 486.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/0.1211, allocations: 184.3 kB / 487.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.863e-05/0.1211, allocations: 184.2 kB / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.762e-05/0.1212, allocations: 176.5 kB / 487.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.1213, allocations: 311.7 kB / 487.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.1214, allocations: 182.1 kB / 487.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.1214, allocations: 188.2 kB / 488.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.399e-05/0.1215, allocations: 101 kB / 488.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.1216, allocations: 184.1 kB / 488.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.428e-05/0.1216, allocations: 105 kB / 488.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.713e-05/0.1216, allocations: 83.28 kB / 488.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1216, allocations: 96 / 488.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000201/0.1218, allocations: 4 kB / 488.6 MB, free: 12.95 MB / 366.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.000104/0.1219, allocations: 177.9 kB / 488.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.967e-05/0.122, allocations: 3.938 kB / 488.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.122, allocations: 0 / 488.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.122, allocations: 0 / 488.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.1223, allocations: 466.8 kB / 489.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001676/0.1225, allocations: 160.8 kB / 489.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.1227, allocations: 0.6729 MB / 490 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.466e-05/0.1227, allocations: 0 / 490 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.351e-05/0.1228, allocations: 7.438 kB / 490 MB, free: 11.42 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1228, allocations: 3.938 kB / 490 MB, free: 11.41 MB / 366.1 MB Notification: Performance of Templates: time 0.001491/0.1243, allocations: 164.9 kB / 490.2 MB, free: 11.25 MB / 366.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 -s gbode -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1)