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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001706/0.001706, allocations: 117 kB / 19.13 MB, free: 3.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0022/0.0022, allocations: 214.5 kB / 22.08 MB, free: 0.9727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.5 MB / 252.3 MB, free: 256 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2337/0.2337, allocations: 46.17 MB / 351.8 MB, free: 14.3 MB / 286.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002636/0.002636, allocations: 82.03 kB / 490.9 MB, free: 28.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.119, allocations: 62.44 MB / 0.5403 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002683/0.1218, allocations: 1.217 MB / 0.5415 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007629/0.1226, allocations: 332.6 kB / 0.5418 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.583e-05/0.1226, allocations: 0 / 0.5418 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.071e-05/0.1226, allocations: 0 / 0.5418 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.659e-05/0.1227, allocations: 3.938 kB / 0.5418 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.1232, allocations: 63.81 kB / 0.5419 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.43e-05/0.1233, allocations: 3.984 kB / 0.5419 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.153e-05/0.1233, allocations: 4 kB / 0.5419 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.732e-05/0.1234, allocations: 0 / 0.5419 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.1236, allocations: 43.89 kB / 0.542 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.1237, allocations: 0 / 0.542 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.252e-06/0.1237, allocations: 0 / 0.542 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.1237, allocations: 3.938 kB / 0.542 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.005e-05/0.1237, allocations: 0 / 0.542 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 7.174e-05/0.1238, allocations: 7.938 kB / 0.542 GB, free: 2.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1238, allocations: 4 kB / 0.542 GB, free: 2.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1238, allocations: 0 / 0.542 GB, free: 2.555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.1239, allocations: 0 / 0.542 GB, free: 2.555 MB / 398.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.0004188/0.1243, allocations: 315.6 kB / 0.5423 GB, free: 2.195 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1243, allocations: 8.031 kB / 0.5423 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.1244, allocations: 0.9375 kB / 0.5423 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.1245, allocations: 160.4 kB / 0.5424 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1245, allocations: 4.375 kB / 0.5424 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.1245, allocations: 384 / 0.5424 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.1247, allocations: 30.27 kB / 0.5425 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.1247, allocations: 4.125 kB / 0.5425 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.1247, allocations: 7.938 kB / 0.5425 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1247, allocations: 0 / 0.5425 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.971e-05/0.1248, allocations: 0 / 0.5425 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.1252, allocations: 379.5 kB / 0.5428 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.1253, allocations: 173.1 kB / 0.543 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.558e-05/0.1254, allocations: 80.14 kB / 0.5431 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.278e-05/0.1254, allocations: 79.22 kB / 0.5432 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.61e-05/0.1255, allocations: 109.8 kB / 0.5433 GB, free: 1.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.1255, allocations: 0 / 0.5433 GB, free: 1.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.797e-05/0.1256, allocations: 37.64 kB / 0.5433 GB, free: 1.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.276e-05/0.1257, allocations: 130.7 kB / 0.5434 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.161e-05/0.1258, allocations: 89.86 kB / 0.5435 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.1258, allocations: 25.7 kB / 0.5435 GB, free: 0.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.1259, allocations: 84.14 kB / 0.5436 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.6e-06/0.1259, allocations: 0 / 0.5436 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.1259, allocations: 17.66 kB / 0.5436 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1261, allocations: 310.8 kB / 0.5439 GB, free: 336 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-06/0.1261, allocations: 128 / 0.5439 GB, free: 336 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.077e-05/0.1261, allocations: 11.94 kB / 0.5439 GB, free: 324 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.3e-05/0.1261, allocations: 8.844 kB / 0.544 GB, free: 312 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1261, allocations: 0 / 0.544 GB, free: 312 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.901e-05/0.1263, allocations: 33.64 kB / 0.544 GB, free: 272 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1263, allocations: 8 kB / 0.544 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1263, allocations: 0 / 0.544 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1263, allocations: 0 / 0.544 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.249e-05/0.1264, allocations: 3.938 kB / 0.544 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.1264, allocations: 8.094 kB / 0.544 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.795e-05/0.1264, allocations: 0 / 0.544 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.1264, allocations: 0 / 0.544 GB, free: 252 kB / 398.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.0001141/0.1265, allocations: 193 kB / 0.5442 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-05/0.1266, allocations: 105 kB / 0.5443 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.95e-05/0.1267, allocations: 111.9 kB / 0.5444 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-05/0.1268, allocations: 184.2 kB / 0.5446 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.846e-05/0.1269, allocations: 180.3 kB / 0.5447 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.923e-05/0.127, allocations: 180.3 kB / 0.5449 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.1273, allocations: 413.1 kB / 0.5453 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-05/0.1273, allocations: 101 kB / 0.5454 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.464e-05/0.1274, allocations: 104.9 kB / 0.5455 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-05/0.1275, allocations: 188.2 kB / 0.5457 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.264e-05/0.1275, allocations: 184.2 kB / 0.5459 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.712e-05/0.1276, allocations: 180.3 kB / 0.546 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.345e-05/0.1277, allocations: 176.5 kB / 0.5462 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.1279, allocations: 315.7 kB / 0.5465 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.444e-05/0.128, allocations: 186 kB / 0.5467 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.354e-05/0.1281, allocations: 180.3 kB / 0.5468 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.322e-05/0.1282, allocations: 101 kB / 0.5469 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.352e-05/0.1283, allocations: 180.2 kB / 0.5471 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/0.1283, allocations: 105 kB / 0.5472 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.902e-05/0.1284, allocations: 83.28 kB / 0.5473 GB, free: 12.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1284, allocations: 0 / 0.5473 GB, free: 12.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.1286, allocations: 0 / 0.5473 GB, free: 12.65 MB / 414.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.0001503/0.1288, allocations: 174.5 kB / 0.5475 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.074e-05/0.1288, allocations: 7.938 kB / 0.5475 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1289, allocations: 0 / 0.5475 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.188e-06/0.1289, allocations: 4 kB / 0.5475 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.1293, allocations: 463.8 kB / 0.5479 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.1296, allocations: 186.6 kB / 0.5481 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.1299, allocations: 0.669 MB / 0.5487 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.1299, allocations: 7.438 kB / 0.5488 GB, free: 11.07 MB / 414.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1299, allocations: 0 / 0.5488 GB, free: 11.07 MB / 414.1 MB Notification: Performance of Templates: time 0.001794/0.1317, allocations: 323.9 kB / 0.5491 GB, free: 10.76 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.147757432074286] Failed to read output from testmodel.py, exit status != 0: 0.13945745606906712 0.154158854 0.027491828000000003 Calling exit ...