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.00163/0.00163, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002/0.002, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 247.4 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2006/0.2006, allocations: 46.1 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 76.84 kB / 418.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1107, allocations: 62.44 MB / 480.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002527/0.1133, allocations: 1.212 MB / 481.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006487/0.114, allocations: 340.1 kB / 482.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.192e-05/0.114, allocations: 0 / 482.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.1141, allocations: 0 / 482.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.038e-05/0.1141, allocations: 0 / 482.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.1146, allocations: 51.81 kB / 482.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.731e-05/0.1146, allocations: 7.938 kB / 482.3 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.1147, allocations: 3.984 kB / 482.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.616e-05/0.1147, allocations: 4 kB / 482.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.1149, allocations: 43.95 kB / 482.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.504e-06/0.115, allocations: 0 / 482.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.861e-06/0.115, allocations: 0 / 482.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.115, allocations: 0 / 482.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.88e-05/0.115, allocations: 0 / 482.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.525e-05/0.1151, allocations: 3.938 kB / 482.4 MB, free: 3.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1151, allocations: 4 kB / 482.4 MB, free: 3.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1151, allocations: 0 / 482.4 MB, free: 3.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1151, allocations: 0 / 482.4 MB, free: 3.617 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.0002613/0.1153, allocations: 323.6 kB / 482.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1154, allocations: 8.031 kB / 482.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.1154, allocations: 0.9375 kB / 482.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.47e-05/0.1155, allocations: 164.3 kB / 482.8 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1155, allocations: 384 / 482.8 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.1156, allocations: 4.375 kB / 482.8 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.515e-05/0.1157, allocations: 26.27 kB / 482.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1157, allocations: 192 / 482.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.1157, allocations: 3.938 kB / 482.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1157, allocations: 4 kB / 482.9 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.904e-05/0.1157, allocations: 7.938 kB / 482.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.116, allocations: 375.5 kB / 483.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.35e-05/0.1161, allocations: 173.1 kB / 483.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/0.1162, allocations: 84.14 kB / 483.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.1162, allocations: 79.28 kB / 483.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.1162, allocations: 109.8 kB / 483.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 2.395e-06/0.1162, allocations: 3.984 kB / 483.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.029e-05/0.1163, allocations: 29.69 kB / 483.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.1164, allocations: 130.7 kB / 483.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.636e-05/0.1165, allocations: 89.86 kB / 483.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.1165, allocations: 29.83 kB / 484 MB, free: 1.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/0.1165, allocations: 84.41 kB / 484.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/0.1165, allocations: 0 / 484.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.1166, allocations: 17.72 kB / 484.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.098e-05/0.1167, allocations: 310.8 kB / 484.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-06/0.1167, allocations: 0 / 484.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-06/0.1167, allocations: 0 / 484.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.952e-05/0.1167, allocations: 12.86 kB / 484.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1167, allocations: 4 kB / 484.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001011/0.1168, allocations: 37.62 kB / 484.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1168, allocations: 11.94 kB / 484.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1169, allocations: 0 / 484.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1169, allocations: 0 / 484.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.763e-05/0.1169, allocations: 0 / 484.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1169, allocations: 0 / 484.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.507e-05/0.117, allocations: 7.844 kB / 484.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.117, allocations: 8 kB / 484.5 MB, free: 1.289 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 8.305e-05/0.1171, allocations: 189.1 kB / 484.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.1171, allocations: 108.9 kB / 484.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.889e-05/0.1172, allocations: 104.1 kB / 484.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-05/0.1172, allocations: 188.2 kB / 485 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.831e-05/0.1173, allocations: 180.3 kB / 485.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.164e-05/0.1173, allocations: 184.3 kB / 485.4 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.1175, allocations: 409.1 kB / 485.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-05/0.1176, allocations: 101 kB / 485.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.959e-05/0.1176, allocations: 108.9 kB / 486 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-05/0.1177, allocations: 176.3 kB / 486.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/0.1177, allocations: 184.2 kB / 486.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.943e-05/0.1178, allocations: 188.2 kB / 486.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.978e-05/0.1179, allocations: 176.5 kB / 486.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.118, allocations: 311.7 kB / 487 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.361e-05/0.1181, allocations: 182.1 kB / 487.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.905e-05/0.1181, allocations: 184.2 kB / 487.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.1182, allocations: 105 kB / 487.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.1182, allocations: 180.2 kB / 487.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.1183, allocations: 109 kB / 487.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.127e-05/0.1183, allocations: 75.28 kB / 487.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1183, allocations: 4 kB / 487.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002078/0.1185, allocations: 0 / 487.8 MB, free: 13.69 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.0001188/0.1187, allocations: 174.6 kB / 488 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.522e-05/0.1187, allocations: 4 kB / 488 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.1187, allocations: 0 / 488 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.814e-06/0.1188, allocations: 3.938 kB / 488 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.1191, allocations: 462.2 kB / 488.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.1193, allocations: 190.5 kB / 488.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.1195, allocations: 0.669 MB / 489.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.54e-05/0.1196, allocations: 11.38 kB / 489.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1196, allocations: 0 / 489.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of Templates: time 0.001408/0.121, allocations: 323.8 kB / 489.6 MB, free: 11.81 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)