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.001141/0.001141, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001228/0.001229, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2062/0.2062, allocations: 46.09 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 76.62 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1071, allocations: 62.45 MB / 479.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002187/0.1093, allocations: 1.278 MB / 480.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005752/0.1099, allocations: 332.2 kB / 481.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.588e-06/0.1099, allocations: 0 / 481.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.904e-05/0.11, allocations: 0 / 481.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.229e-05/0.11, allocations: 3.938 kB / 481.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.1104, allocations: 51.88 kB / 481.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.875e-05/0.1104, allocations: 0 / 481.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.1105, allocations: 7.984 kB / 481.2 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.545e-05/0.1105, allocations: 0 / 481.2 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.1107, allocations: 47.95 kB / 481.2 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.873e-06/0.1107, allocations: 0 / 481.2 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.39e-06/0.1107, allocations: 0 / 481.2 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.1108, allocations: 3.938 kB / 481.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.791e-05/0.1108, allocations: 0 / 481.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.973e-05/0.1108, allocations: 3.938 kB / 481.2 MB, free: 3.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1108, allocations: 4 kB / 481.2 MB, free: 3.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1108, allocations: 0 / 481.2 MB, free: 3.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1109, allocations: 0 / 481.2 MB, free: 3.859 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.0002604/0.1111, allocations: 319.6 kB / 481.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.1112, allocations: 8.031 kB / 481.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.351e-05/0.1112, allocations: 0.9375 kB / 481.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.257e-05/0.1113, allocations: 160.4 kB / 481.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.1113, allocations: 384 / 481.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.1113, allocations: 384 / 481.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.302e-05/0.1114, allocations: 38.19 kB / 481.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.1114, allocations: 192 / 481.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1114, allocations: 3.938 kB / 481.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-06/0.1114, allocations: 0 / 481.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.085e-05/0.1115, allocations: 8 kB / 481.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.1118, allocations: 371.5 kB / 482.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.724e-05/0.1119, allocations: 177.1 kB / 482.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/0.1119, allocations: 88.08 kB / 482.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.112, allocations: 79.28 kB / 482.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.112, allocations: 105.8 kB / 482.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.112, allocations: 0 / 482.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.319e-05/0.1121, allocations: 25.7 kB / 482.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.1122, allocations: 130.7 kB / 482.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.346e-05/0.1122, allocations: 89.86 kB / 482.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.1123, allocations: 25.7 kB / 482.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.1123, allocations: 84.55 kB / 482.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-06/0.1123, allocations: 0 / 482.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.1123, allocations: 21.7 kB / 482.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1125, allocations: 310.8 kB / 483.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.443e-06/0.1125, allocations: 3.938 kB / 483.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.299e-06/0.1125, allocations: 0 / 483.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.154e-05/0.1125, allocations: 8.859 kB / 483.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1125, allocations: 4.062 kB / 483.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.384e-05/0.1126, allocations: 37.58 kB / 483.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1126, allocations: 6.656 kB / 483.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1126, allocations: 4 kB / 483.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1127, allocations: 0 / 483.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.544e-05/0.1127, allocations: 0 / 483.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1127, allocations: 3.984 kB / 483.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.436e-05/0.1127, allocations: 7.844 kB / 483.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.1127, allocations: 11.88 kB / 483.3 MB, free: 1.539 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 9.436e-05/0.1128, allocations: 193.1 kB / 483.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.088e-05/0.1129, allocations: 101 kB / 483.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/0.113, allocations: 104.1 kB / 483.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-05/0.113, allocations: 184.2 kB / 483.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.757e-05/0.1131, allocations: 180.2 kB / 484 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.137e-05/0.1132, allocations: 184.2 kB / 484.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.1134, allocations: 405.2 kB / 484.6 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-05/0.1134, allocations: 109 kB / 484.7 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.113e-05/0.1135, allocations: 109.1 kB / 484.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.048e-05/0.1136, allocations: 180.3 kB / 485 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.497e-05/0.1136, allocations: 188.2 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.596e-05/0.1137, allocations: 184.3 kB / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.145e-05/0.1138, allocations: 176.3 kB / 485.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.1139, allocations: 311.7 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.877e-05/0.114, allocations: 182 kB / 486 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.658e-05/0.114, allocations: 176.3 kB / 486.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.569e-05/0.1141, allocations: 113 kB / 486.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.1142, allocations: 180.2 kB / 486.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.144e-05/0.1142, allocations: 101 kB / 486.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.167e-05/0.1143, allocations: 75.28 kB / 486.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1143, allocations: 0 / 486.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000207/0.1145, allocations: 4 kB / 486.7 MB, free: 13.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.0001404/0.1146, allocations: 175.2 kB / 486.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.274e-05/0.1147, allocations: 7.938 kB / 486.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1147, allocations: 0 / 486.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.1147, allocations: 0 / 486.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.1151, allocations: 463.6 kB / 487.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002382/0.1153, allocations: 164.8 kB / 487.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.1156, allocations: 0.6806 MB / 488.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.557e-05/0.1156, allocations: 3.984 kB / 488.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.506e-05/0.1156, allocations: 7.438 kB / 488.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1157, allocations: 0 / 488.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of Templates: time 0.001737/0.1174, allocations: 164.7 kB / 488.3 MB, free: 12.24 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)