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.001102/0.001102, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001133/0.001133, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2186/0.2186, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001383, allocations: 75.59 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1037, allocations: 62.44 MB / 480 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002181/0.1059, allocations: 1.205 MB / 481.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006361/0.1066, allocations: 352 kB / 481.6 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.289e-05/0.1066, allocations: 0 / 481.6 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.237e-05/0.1066, allocations: 0 / 481.6 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.509e-05/0.1067, allocations: 0 / 481.6 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.1071, allocations: 47.81 kB / 481.6 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.621e-05/0.1071, allocations: 4 kB / 481.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.1072, allocations: 7.984 kB / 481.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.385e-05/0.1072, allocations: 4 kB / 481.6 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.1074, allocations: 35.97 kB / 481.7 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.862e-06/0.1074, allocations: 0 / 481.7 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.679e-06/0.1074, allocations: 0 / 481.7 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.1074, allocations: 3.984 kB / 481.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.545e-05/0.1074, allocations: 0 / 481.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.094e-05/0.1075, allocations: 3.938 kB / 481.7 MB, free: 3.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1075, allocations: 11.94 kB / 481.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1075, allocations: 0 / 481.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.1075, allocations: 0 / 481.7 MB, free: 3.598 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.0002296/0.1077, allocations: 319.6 kB / 482 MB, free: 3.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.1078, allocations: 8.031 kB / 482 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.534e-05/0.1078, allocations: 0.9375 kB / 482 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.107e-05/0.1079, allocations: 160.4 kB / 482.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.1079, allocations: 384 / 482.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-06/0.1079, allocations: 4.375 kB / 482.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.375e-05/0.108, allocations: 26.27 kB / 482.2 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.108, allocations: 192 / 482.2 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.108, allocations: 7.938 kB / 482.2 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.108, allocations: 3.984 kB / 482.2 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.74e-05/0.1081, allocations: 8 kB / 482.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002782/0.1084, allocations: 375.5 kB / 482.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.141e-05/0.1084, allocations: 177.1 kB / 482.8 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.94e-05/0.1085, allocations: 84.14 kB / 482.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.1085, allocations: 75.28 kB / 482.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.1085, allocations: 105.8 kB / 483 MB, free: 2.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.1085, allocations: 0 / 483 MB, free: 2.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.332e-05/0.1086, allocations: 33.62 kB / 483 MB, free: 2.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.1087, allocations: 130.7 kB / 483.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.472e-05/0.1087, allocations: 97.86 kB / 483.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.1088, allocations: 25.7 kB / 483.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.1088, allocations: 80.42 kB / 483.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.1088, allocations: 0 / 483.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.1088, allocations: 13.72 kB / 483.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.1089, allocations: 314.8 kB / 483.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-06/0.1089, allocations: 0 / 483.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-06/0.109, allocations: 0 / 483.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.176e-05/0.109, allocations: 13.05 kB / 483.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.109, allocations: 0 / 483.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.654e-05/0.1091, allocations: 45.56 kB / 483.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1091, allocations: 8 kB / 483.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1091, allocations: 3.938 kB / 483.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1091, allocations: 0 / 483.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.064e-05/0.1092, allocations: 0 / 483.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.1092, allocations: 0 / 483.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.283e-05/0.1092, allocations: 7.844 kB / 483.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.1092, allocations: 4 kB / 483.8 MB, free: 1.277 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 7.401e-05/0.1093, allocations: 189.1 kB / 484 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.489e-05/0.1093, allocations: 108.9 kB / 484.1 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/0.1094, allocations: 104.1 kB / 484.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.528e-05/0.1094, allocations: 188.3 kB / 484.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.416e-05/0.1095, allocations: 180.2 kB / 484.5 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.564e-05/0.1096, allocations: 180.3 kB / 484.7 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.1098, allocations: 409.1 kB / 485.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-05/0.1098, allocations: 101 kB / 485.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.99e-05/0.1099, allocations: 101 kB / 485.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.34e-05/0.1099, allocations: 188.2 kB / 485.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/0.11, allocations: 184.2 kB / 485.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.252e-05/0.1101, allocations: 184.2 kB / 485.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.774e-05/0.1101, allocations: 176.5 kB / 486 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.1102, allocations: 311.7 kB / 486.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-05/0.1103, allocations: 182.1 kB / 486.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.023e-05/0.1104, allocations: 184.2 kB / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.874e-05/0.1105, allocations: 105 kB / 486.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.1105, allocations: 176.3 kB / 486.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/0.1106, allocations: 116.9 kB / 487.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.73e-05/0.1106, allocations: 75.28 kB / 487.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1106, allocations: 4 kB / 487.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.1108, allocations: 4.094 kB / 487.1 MB, free: 13.68 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.0001067/0.111, allocations: 166.5 kB / 487.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.632e-05/0.111, allocations: 4 kB / 487.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.111, allocations: 0 / 487.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.111, allocations: 0 / 487.3 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.0003151/0.1113, allocations: 470.2 kB / 487.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001908/0.1115, allocations: 156.8 kB / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.1118, allocations: 0.6767 MB / 488.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.482e-05/0.1118, allocations: 0 / 488.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.334e-05/0.1118, allocations: 11.38 kB / 488.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1118, allocations: 0 / 488.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of Templates: time 0.001656/0.1135, allocations: 172.9 kB / 488.8 MB, free: 11.98 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)