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.001637/0.001637, allocations: 111.7 kB / 17.98 MB, free: 5.215 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001914/0.001914, allocations: 209.8 kB / 18.92 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 247.1 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2315/0.2315, allocations: 46.12 MB / 344.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 80.58 kB / 417.8 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1191, allocations: 62.44 MB / 480.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002534/0.1217, allocations: 1.278 MB / 481.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000658/0.1224, allocations: 339.5 kB / 481.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.137e-06/0.1224, allocations: 0 / 481.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.1225, allocations: 0 / 481.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.997e-05/0.1225, allocations: 4 kB / 481.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.1229, allocations: 51.88 kB / 481.9 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.932e-05/0.123, allocations: 0 / 481.9 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.123, allocations: 7.984 kB / 481.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.591e-05/0.123, allocations: 0 / 481.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.1233, allocations: 43.95 kB / 481.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.033e-06/0.1233, allocations: 0 / 481.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.009e-06/0.1233, allocations: 0 / 481.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.1233, allocations: 0 / 481.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.1233, allocations: 7.938 kB / 481.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.602e-05/0.1234, allocations: 0 / 481.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1234, allocations: 3.938 kB / 481.9 MB, free: 3.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.1234, allocations: 4 kB / 481.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1234, allocations: 0 / 481.9 MB, free: 3.82 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.0003191/0.1237, allocations: 311.5 kB / 482.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1238, allocations: 12.06 kB / 482.3 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.358e-05/0.1238, allocations: 4.875 kB / 482.3 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.1239, allocations: 160.4 kB / 482.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.124, allocations: 4.375 kB / 482.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.124, allocations: 384 / 482.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.1241, allocations: 34.25 kB / 482.5 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.1241, allocations: 192 / 482.5 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1241, allocations: 3.938 kB / 482.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1241, allocations: 0 / 482.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.1241, allocations: 4 kB / 482.5 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.1245, allocations: 379.5 kB / 482.8 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.1246, allocations: 177.1 kB / 483 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.123e-05/0.1247, allocations: 84.12 kB / 483.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.279e-05/0.1247, allocations: 75.28 kB / 483.2 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/0.1248, allocations: 105.8 kB / 483.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 2.755e-06/0.1248, allocations: 4 kB / 483.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.721e-05/0.1249, allocations: 29.64 kB / 483.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.481e-05/0.1249, allocations: 126.7 kB / 483.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.544e-05/0.125, allocations: 93.86 kB / 483.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.1251, allocations: 25.7 kB / 483.5 MB, free: 2.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.1251, allocations: 84.42 kB / 483.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.1251, allocations: 0 / 483.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.1252, allocations: 13.72 kB / 483.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1253, allocations: 319 kB / 483.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-06/0.1253, allocations: 0 / 483.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-06/0.1253, allocations: 0 / 483.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.35e-05/0.1254, allocations: 12.86 kB / 484 MB, free: 1.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1254, allocations: 0 / 484 MB, free: 1.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.819e-05/0.1255, allocations: 41.58 kB / 484 MB, free: 1.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1255, allocations: 4 kB / 484 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1255, allocations: 0 / 484 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1255, allocations: 8.094 kB / 484 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.596e-05/0.1256, allocations: 3.938 kB / 484 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1256, allocations: 0 / 484 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.02e-05/0.1256, allocations: 7.844 kB / 484 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1256, allocations: 3.984 kB / 484 MB, free: 1.5 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 0.0001275/0.1258, allocations: 189.1 kB / 484.2 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.638e-05/0.1259, allocations: 104.9 kB / 484.3 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.768e-05/0.1259, allocations: 112.1 kB / 484.4 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.532e-05/0.126, allocations: 180.3 kB / 484.6 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.081e-05/0.1261, allocations: 188.2 kB / 484.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-05/0.1262, allocations: 176.3 kB / 485 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.1265, allocations: 405.1 kB / 485.4 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.89e-05/0.1266, allocations: 108.9 kB / 485.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/0.1266, allocations: 109.1 kB / 485.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.059e-05/0.1267, allocations: 184.2 kB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.819e-05/0.1268, allocations: 180.3 kB / 485.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.547e-05/0.1269, allocations: 184.2 kB / 486.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.171e-05/0.127, allocations: 176.3 kB / 486.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.1271, allocations: 315.7 kB / 486.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.471e-05/0.1272, allocations: 178.1 kB / 486.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.145e-05/0.1273, allocations: 180.2 kB / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1275, allocations: 109 kB / 487 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/0.1276, allocations: 176.3 kB / 487.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/0.1276, allocations: 108.9 kB / 487.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.522e-05/0.1277, allocations: 79.28 kB / 487.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1277, allocations: 0 / 487.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.1279, allocations: 4 kB / 487.4 MB, free: 13.91 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.0001433/0.1281, allocations: 167.1 kB / 487.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.214e-05/0.1281, allocations: 4 kB / 487.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1281, allocations: 4.156 kB / 487.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.516e-06/0.1282, allocations: 0 / 487.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.1286, allocations: 465.8 kB / 488 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/0.1288, allocations: 190.5 kB / 488.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.1292, allocations: 0.6768 MB / 488.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.555e-05/0.1292, allocations: 7.438 kB / 488.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1292, allocations: 4 kB / 488.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of Templates: time 0.001572/0.1308, allocations: 327.6 kB / 489.2 MB, free: 12.02 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)