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.001471/0.001471, allocations: 115.2 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001543/0.001543, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2433/0.2433, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 79.86 kB / 482 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4208, allocations: 62.44 MB / 0.5316 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002171/0.423, allocations: 1.217 MB / 0.5328 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006814/0.4237, allocations: 340.8 kB / 0.5332 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.74e-05/0.4237, allocations: 1.281 kB / 0.5332 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.4237, allocations: 0 / 0.5332 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.93e-05/0.4238, allocations: 4 kB / 0.5332 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.4242, allocations: 55.62 kB / 0.5332 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.054e-05/0.4242, allocations: 5.75 kB / 0.5332 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.4243, allocations: 5.938 kB / 0.5332 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.803e-05/0.4243, allocations: 1.875 kB / 0.5332 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.4245, allocations: 38.64 kB / 0.5333 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.564e-06/0.4245, allocations: 0 / 0.5333 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.319e-06/0.4246, allocations: 0 / 0.5333 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.4246, allocations: 0 / 0.5333 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.4246, allocations: 9.344 kB / 0.5333 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 5.209e-05/0.4247, allocations: 13.91 kB / 0.5333 GB, free: 12.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4247, allocations: 0 / 0.5333 GB, free: 12.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4247, allocations: 0 / 0.5333 GB, free: 12.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.4247, allocations: 0 / 0.5333 GB, free: 12.34 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.0002675/0.425, allocations: 306.9 kB / 0.5336 GB, free: 11.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.425, allocations: 9.344 kB / 0.5336 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.425, allocations: 2.656 kB / 0.5336 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.745e-05/0.4251, allocations: 164.4 kB / 0.5338 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.4252, allocations: 384 / 0.5338 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.4252, allocations: 5.844 kB / 0.5338 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.566e-05/0.4253, allocations: 33.14 kB / 0.5338 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.4253, allocations: 192 / 0.5338 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.4253, allocations: 3.938 kB / 0.5338 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.4253, allocations: 3.984 kB / 0.5338 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.857e-05/0.4253, allocations: 5.531 kB / 0.5338 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.4256, allocations: 378.6 kB / 0.5342 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.801e-05/0.4257, allocations: 174.5 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.051e-05/0.4258, allocations: 80.14 kB / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.4258, allocations: 75.28 kB / 0.5345 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/0.4259, allocations: 111.3 kB / 0.5346 GB, free: 10.87 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/0.4259, allocations: 0 / 0.5346 GB, free: 10.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.24e-05/0.4259, allocations: 31.27 kB / 0.5346 GB, free: 10.83 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.426, allocations: 126.7 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.468e-05/0.4261, allocations: 99.16 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.4261, allocations: 25.7 kB / 0.5349 GB, free: 10.56 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.4262, allocations: 85.3 kB / 0.5349 GB, free: 10.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.4262, allocations: 0 / 0.5349 GB, free: 10.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.4262, allocations: 15.12 kB / 0.5349 GB, free: 10.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.4263, allocations: 316.3 kB / 0.5353 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-06/0.4263, allocations: 3.938 kB / 0.5353 GB, free: 10.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.948e-06/0.4263, allocations: 1.062 kB / 0.5353 GB, free: 10.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.34e-05/0.4264, allocations: 15.42 kB / 0.5353 GB, free: 10.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4264, allocations: 0 / 0.5353 GB, free: 10.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.861e-05/0.4264, allocations: 39.19 kB / 0.5353 GB, free: 10.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.4265, allocations: 4.531 kB / 0.5353 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4265, allocations: 7.938 kB / 0.5353 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.4265, allocations: 5.375 kB / 0.5353 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.072e-05/0.4265, allocations: 1.312 kB / 0.5353 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.4266, allocations: 0 / 0.5353 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.031e-05/0.4266, allocations: 1.438 kB / 0.5353 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.4266, allocations: 0 / 0.5353 GB, free: 10.07 MB / 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 9.346e-05/0.4267, allocations: 186.4 kB / 0.5355 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/0.4267, allocations: 106.2 kB / 0.5356 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.181e-05/0.4268, allocations: 113.2 kB / 0.5357 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.403e-05/0.4269, allocations: 189.4 kB / 0.5359 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.278e-05/0.4269, allocations: 177.3 kB / 0.5361 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.967e-05/0.427, allocations: 177.5 kB / 0.5362 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.4272, allocations: 406.3 kB / 0.5366 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.404e-05/0.4272, allocations: 101 kB / 0.5367 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.743e-05/0.4273, allocations: 118.1 kB / 0.5368 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.45e-05/0.4274, allocations: 177.5 kB / 0.537 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.234e-05/0.4274, allocations: 177.5 kB / 0.5372 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.96e-05/0.4275, allocations: 185.6 kB / 0.5373 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.613e-05/0.4276, allocations: 176.3 kB / 0.5375 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.4277, allocations: 311.6 kB / 0.5378 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.4278, allocations: 180 kB / 0.538 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-05/0.4278, allocations: 185.6 kB / 0.5382 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.128e-05/0.4279, allocations: 105 kB / 0.5383 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.981e-05/0.428, allocations: 185.5 kB / 0.5384 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/0.4281, allocations: 106.4 kB / 0.5385 GB, free: 6.582 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.163e-05/0.4281, allocations: 75.28 kB / 0.5386 GB, free: 6.508 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4281, allocations: 0.9062 kB / 0.5386 GB, free: 6.508 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002169/0.4283, allocations: 1.25 kB / 0.5386 GB, free: 6.508 MB / 398.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.000122/0.4284, allocations: 172.7 kB / 0.5388 GB, free: 6.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.502e-05/0.4285, allocations: 6.375 kB / 0.5388 GB, free: 6.336 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.4285, allocations: 8.094 kB / 0.5388 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.4285, allocations: 1.656 kB / 0.5388 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.4289, allocations: 461.1 kB / 0.5392 GB, free: 5.875 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002262/0.4291, allocations: 182.1 kB / 0.5394 GB, free: 5.672 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.4294, allocations: 0.6729 MB / 0.5401 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.4294, allocations: 8.906 kB / 0.5401 GB, free: 4.965 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4294, allocations: 4 kB / 0.5401 GB, free: 4.961 MB / 398.1 MB Notification: Performance of Templates: time 0.001409/0.4308, allocations: 319.3 kB / 0.5404 GB, free: 4.812 MB / 398.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)