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.001486/0.001486, allocations: 104.4 kB / 17.21 MB, free: 6.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001777/0.001777, allocations: 209.7 kB / 18.14 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2271/0.2271, allocations: 46.11 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 76.03 kB / 416.9 MB, free: 20.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1243, allocations: 62.44 MB / 479.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.003217/0.1275, allocations: 1.284 MB / 480.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006973/0.1283, allocations: 340.2 kB / 480.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.928e-06/0.1283, allocations: 0 / 480.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.1283, allocations: 3.938 kB / 480.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.804e-05/0.1284, allocations: 3.938 kB / 480.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.1287, allocations: 35.91 kB / 481 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.903e-05/0.1288, allocations: 7.984 kB / 481 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.1288, allocations: 3.984 kB / 481 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.829e-05/0.1289, allocations: 4 kB / 481 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.1291, allocations: 39.97 kB / 481 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.725e-06/0.1291, allocations: 0 / 481 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-06/0.1291, allocations: 0 / 481 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.969e-06/0.1291, allocations: 3.938 kB / 481 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.1292, allocations: 7.984 kB / 481 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.126e-05/0.1292, allocations: 7.984 kB / 481 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1292, allocations: 0 / 481 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1292, allocations: 0 / 481 MB, free: 4.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1292, allocations: 0 / 481 MB, free: 4.008 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.0002548/0.1295, allocations: 311.6 kB / 481.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1295, allocations: 8.875 kB / 481.3 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.1296, allocations: 4.938 kB / 481.3 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.233e-05/0.1297, allocations: 164.4 kB / 481.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.1297, allocations: 384 / 481.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-06/0.1297, allocations: 384 / 481.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.896e-05/0.1298, allocations: 38.2 kB / 481.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.1298, allocations: 192 / 481.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.1298, allocations: 3.938 kB / 481.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1298, allocations: 4 kB / 481.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.641e-05/0.1299, allocations: 0 / 481.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.1302, allocations: 379.5 kB / 481.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.811e-05/0.1303, allocations: 169.1 kB / 482.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.1304, allocations: 84.08 kB / 482.2 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.1304, allocations: 79.28 kB / 482.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/0.1305, allocations: 109.9 kB / 482.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.613e-06/0.1305, allocations: 0 / 482.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.463e-05/0.1305, allocations: 25.7 kB / 482.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.357e-05/0.1306, allocations: 126.7 kB / 482.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/0.1307, allocations: 93.86 kB / 482.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.1307, allocations: 37.81 kB / 482.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.1308, allocations: 80.42 kB / 482.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-06/0.1308, allocations: 3.938 kB / 482.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.1308, allocations: 9.719 kB / 482.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.131, allocations: 310.8 kB / 483 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.206e-05/0.131, allocations: 7.938 kB / 483 MB, free: 1.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.11e-06/0.131, allocations: 0 / 483 MB, free: 1.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.523e-05/0.131, allocations: 16.86 kB / 483 MB, free: 1.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.131, allocations: 0 / 483 MB, free: 1.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.394e-05/0.1311, allocations: 37.64 kB / 483.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1311, allocations: 6.188 kB / 483.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.1312, allocations: 3.984 kB / 483.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1312, allocations: 0 / 483.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.435e-05/0.1312, allocations: 8 kB / 483.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1313, allocations: 0 / 483.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.391e-05/0.1313, allocations: 7.844 kB / 483.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.1313, allocations: 0 / 483.1 MB, free: 1.691 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.546e-05/0.1314, allocations: 193 kB / 483.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.316e-05/0.1314, allocations: 105 kB / 483.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.499e-05/0.1315, allocations: 104.1 kB / 483.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.486e-05/0.1316, allocations: 188.2 kB / 483.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-05/0.1316, allocations: 176.3 kB / 483.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.177e-05/0.1317, allocations: 188.2 kB / 484 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.1319, allocations: 405.2 kB / 484.4 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.731e-05/0.132, allocations: 101 kB / 484.5 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.132, allocations: 108.9 kB / 484.6 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.464e-05/0.1321, allocations: 180.4 kB / 484.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.244e-05/0.1322, allocations: 184.2 kB / 485 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.985e-05/0.1322, allocations: 180.3 kB / 485.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-05/0.1323, allocations: 180.2 kB / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.1324, allocations: 307.7 kB / 485.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.749e-05/0.1325, allocations: 186 kB / 485.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.815e-05/0.1326, allocations: 184.2 kB / 486 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.09e-05/0.1326, allocations: 101 kB / 486.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.1327, allocations: 184.2 kB / 486.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/0.1328, allocations: 105 kB / 486.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.872e-05/0.1328, allocations: 75.28 kB / 486.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.956e-06/0.1328, allocations: 0 / 486.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.1331, allocations: 3.938 kB / 486.5 MB, free: 14.11 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.0001268/0.1332, allocations: 179.1 kB / 486.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.447e-05/0.1332, allocations: 3.938 kB / 486.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1333, allocations: 4 kB / 486.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.1333, allocations: 0 / 486.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.1336, allocations: 0.5263 MB / 487.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002277/0.1339, allocations: 158.6 kB / 487.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.1341, allocations: 0.6731 MB / 488 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.555e-05/0.1341, allocations: 4 kB / 488 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.361e-05/0.1342, allocations: 7.438 kB / 488 MB, free: 12.49 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1342, allocations: 3.938 kB / 488 MB, free: 12.48 MB / 366.1 MB Notification: Performance of Templates: time 0.001913/0.1361, allocations: 164.8 kB / 488.2 MB, free: 12.32 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)