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.0008462/0.0008462, allocations: 96.64 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009591/0.0009592, allocations: 206.2 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.7 MB / 246.8 MB, free: 11.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1936/0.1936, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002617/0.0002617, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1033, allocations: 63.57 MB / 483.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.001195/0.1045, allocations: 0.9389 MB / 484 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005957/0.1051, allocations: 336.2 kB / 484.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.075e-06/0.1052, allocations: 4 kB / 484.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.168e-05/0.1052, allocations: 0 / 484.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.301e-05/0.1052, allocations: 0 / 484.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.1055, allocations: 39.89 kB / 484.4 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.601e-05/0.1056, allocations: 11.98 kB / 484.4 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.613e-05/0.1056, allocations: 7.938 kB / 484.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.698e-05/0.1057, allocations: 4 kB / 484.4 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.1059, allocations: 39.89 kB / 484.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.152e-06/0.1059, allocations: 0 / 484.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.408e-06/0.1059, allocations: 0 / 484.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.055e-06/0.1059, allocations: 0 / 484.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.1059, allocations: 33.7 kB / 484.5 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.614e-05/0.106, allocations: 7.922 kB / 484.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.106, allocations: 0 / 484.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.106, allocations: 4 kB / 484.5 MB, free: 2.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.106, allocations: 0 / 484.5 MB, free: 2.703 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.0002467/0.1063, allocations: 307.6 kB / 484.8 MB, free: 2.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1063, allocations: 8.875 kB / 484.8 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.272e-05/0.1063, allocations: 0.9375 kB / 484.8 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.509e-05/0.1064, allocations: 160.4 kB / 485 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1065, allocations: 384 / 485 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.1065, allocations: 384 / 485 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.584e-05/0.1066, allocations: 34.25 kB / 485 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.1066, allocations: 8.172 kB / 485 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1066, allocations: 7.938 kB / 485 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1066, allocations: 0 / 485 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.857e-05/0.1066, allocations: 7.938 kB / 485 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002903/0.1069, allocations: 371.5 kB / 485.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.971e-05/0.107, allocations: 181.1 kB / 485.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.608e-05/0.107, allocations: 80.14 kB / 485.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.1071, allocations: 75.28 kB / 485.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.1071, allocations: 105.8 kB / 485.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1071, allocations: 3.938 kB / 485.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 5.768e-05/0.1072, allocations: 25.7 kB / 485.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.1072, allocations: 130.7 kB / 486 MB, free: 1.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.752e-05/0.1073, allocations: 97.86 kB / 486.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.228e-06/0.1073, allocations: 25.7 kB / 486.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.1074, allocations: 80.42 kB / 486.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-06/0.1074, allocations: 3.984 kB / 486.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.021e-05/0.1074, allocations: 9.719 kB / 486.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.1075, allocations: 314.8 kB / 486.5 MB, free: 496 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.152e-06/0.1075, allocations: 0 / 486.5 MB, free: 496 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-06/0.1075, allocations: 4.125 kB / 486.5 MB, free: 492 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.974e-05/0.1076, allocations: 12.8 kB / 486.5 MB, free: 476 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1076, allocations: 0 / 486.5 MB, free: 476 kB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.978e-05/0.1076, allocations: 37.64 kB / 486.6 MB, free: 432 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1077, allocations: 4 kB / 486.6 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1077, allocations: 7.875 kB / 486.6 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.1077, allocations: 0 / 486.6 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.085e-05/0.1077, allocations: 8 kB / 486.6 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1077, allocations: 3.984 kB / 486.6 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.304e-05/0.1078, allocations: 11.94 kB / 486.6 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.1078, allocations: 0 / 486.6 MB, free: 396 kB / 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.16e-05/0.1079, allocations: 185.1 kB / 486.8 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.1079, allocations: 108.9 kB / 486.9 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.319e-05/0.108, allocations: 104.1 kB / 487 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-05/0.1081, allocations: 176.3 kB / 487.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-05/0.1081, allocations: 192.2 kB / 487.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.15e-05/0.1082, allocations: 180.3 kB / 487.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.1084, allocations: 405.1 kB / 487.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.119e-05/0.1085, allocations: 105 kB / 488 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.734e-05/0.1085, allocations: 105 kB / 488.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.805e-05/0.1086, allocations: 184.4 kB / 488.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-05/0.1086, allocations: 184.3 kB / 488.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.918e-05/0.1087, allocations: 180.2 kB / 488.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.105e-05/0.1088, allocations: 180.3 kB / 488.8 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.1089, allocations: 307.7 kB / 489.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.226e-05/0.109, allocations: 186.1 kB / 489.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.921e-05/0.1091, allocations: 180.2 kB / 489.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.1091, allocations: 105 kB / 489.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.1092, allocations: 184.2 kB / 489.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.1093, allocations: 105 kB / 489.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.968e-05/0.1093, allocations: 79.28 kB / 489.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1093, allocations: 0 / 489.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000205/0.1095, allocations: 0 / 489.9 MB, free: 12.8 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.0001113/0.1096, allocations: 171.1 kB / 490.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.396e-05/0.1097, allocations: 4 kB / 490.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1097, allocations: 0 / 490.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.226e-06/0.1097, allocations: 3.938 kB / 490.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.11, allocations: 0.5291 MB / 490.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002007/0.1102, allocations: 163.9 kB / 490.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.1105, allocations: 0.6692 MB / 491.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.213e-05/0.1105, allocations: 0 / 491.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.126e-05/0.1105, allocations: 7.438 kB / 491.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1105, allocations: 0 / 491.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of Templates: time 0.001585/0.1121, allocations: 164.9 kB / 491.7 MB, free: 11.04 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)