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.0009233/0.0009234, allocations: 95.72 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001049/0.001049, allocations: 203.8 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.7 MB / 247.5 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1861/0.1861, allocations: 46.19 MB / 345.9 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000283/0.0002832, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1116, allocations: 63.56 MB / 483.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.001246/0.1129, allocations: 0.9389 MB / 484.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006135/0.1135, allocations: 332.2 kB / 485 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.757e-06/0.1135, allocations: 4 kB / 485 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.1135, allocations: 0 / 485 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.535e-05/0.1136, allocations: 0 / 485 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.1139, allocations: 47.83 kB / 485 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.702e-05/0.114, allocations: 11.98 kB / 485.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.114, allocations: 3.984 kB / 485.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.625e-05/0.114, allocations: 4 kB / 485.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.1142, allocations: 35.97 kB / 485.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.823e-06/0.1143, allocations: 0 / 485.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.418e-06/0.1143, allocations: 0 / 485.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.538e-06/0.1143, allocations: 0 / 485.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.1143, allocations: 33.69 kB / 485.1 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 2.872e-05/0.1144, allocations: 3.938 kB / 485.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1144, allocations: 3.938 kB / 485.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1144, allocations: 4 kB / 485.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.1144, allocations: 0 / 485.1 MB, free: 2.742 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.0002438/0.1146, allocations: 315.6 kB / 485.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.1147, allocations: 8.875 kB / 485.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.1147, allocations: 0.9375 kB / 485.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.002e-05/0.1148, allocations: 160.4 kB / 485.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.1148, allocations: 384 / 485.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.751e-06/0.1148, allocations: 384 / 485.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.898e-05/0.1149, allocations: 42.19 kB / 485.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.13e-06/0.1149, allocations: 192 / 485.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1149, allocations: 3.938 kB / 485.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.1149, allocations: 0 / 485.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.678e-05/0.115, allocations: 4 kB / 485.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.1153, allocations: 371.5 kB / 486 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.28e-05/0.1154, allocations: 177.1 kB / 486.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.425e-05/0.1154, allocations: 92.06 kB / 486.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.1155, allocations: 75.28 kB / 486.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.1155, allocations: 109.8 kB / 486.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.1155, allocations: 0 / 486.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.222e-05/0.1156, allocations: 25.7 kB / 486.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.1156, allocations: 134.7 kB / 486.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.849e-05/0.1157, allocations: 89.86 kB / 486.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1157, allocations: 25.7 kB / 486.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/0.1158, allocations: 80.42 kB / 486.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-06/0.1158, allocations: 0 / 486.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.1158, allocations: 9.719 kB / 486.8 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1159, allocations: 322.8 kB / 487.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-06/0.1159, allocations: 0 / 487.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-06/0.116, allocations: 8.062 kB / 487.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.793e-05/0.116, allocations: 4.859 kB / 487.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.116, allocations: 4 kB / 487.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.401e-05/0.1161, allocations: 33.64 kB / 487.2 MB, free: 468 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1161, allocations: 4 kB / 487.2 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1161, allocations: 0 / 487.2 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1161, allocations: 0 / 487.2 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.518e-05/0.1162, allocations: 7.938 kB / 487.2 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1162, allocations: 0 / 487.2 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.446e-05/0.1162, allocations: 11.94 kB / 487.2 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.1162, allocations: 0 / 487.2 MB, free: 444 kB / 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 9.276e-05/0.1163, allocations: 197 kB / 487.4 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.492e-05/0.1164, allocations: 108.9 kB / 487.5 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.796e-05/0.1164, allocations: 104.1 kB / 487.6 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.435e-05/0.1165, allocations: 180.2 kB / 487.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.33e-05/0.1166, allocations: 180.3 kB / 488 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-05/0.1166, allocations: 188.2 kB / 488.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.1169, allocations: 405.2 kB / 488.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.007e-05/0.1169, allocations: 101 kB / 488.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.242e-05/0.117, allocations: 108.9 kB / 488.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-05/0.117, allocations: 184.4 kB / 488.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.073e-05/0.1171, allocations: 188.2 kB / 489.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.694e-05/0.1171, allocations: 176.3 kB / 489.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.934e-05/0.1172, allocations: 184.3 kB / 489.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.1173, allocations: 303.7 kB / 489.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.699e-05/0.1174, allocations: 190 kB / 490 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.534e-05/0.1175, allocations: 180.3 kB / 490.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/0.1175, allocations: 101 kB / 490.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/0.1176, allocations: 184.2 kB / 490.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.1176, allocations: 105 kB / 490.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.894e-05/0.1177, allocations: 75.28 kB / 490.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1177, allocations: 4.094 kB / 490.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002031/0.1179, allocations: 0 / 490.6 MB, free: 12.84 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.0001051/0.118, allocations: 171.1 kB / 490.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.222e-05/0.1181, allocations: 3.938 kB / 490.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1181, allocations: 4 kB / 490.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.835e-06/0.1181, allocations: 4 kB / 490.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.1184, allocations: 0.5224 MB / 491.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001957/0.1186, allocations: 185.6 kB / 491.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.1189, allocations: 0.6731 MB / 492.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.289e-05/0.1189, allocations: 7.438 kB / 492.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1189, allocations: 0 / 492.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of Templates: time 0.001205/0.1201, allocations: 315.1 kB / 492.5 MB, free: 10.9 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 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1)