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.001804/0.001804, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002106/0.002106, allocations: 212.6 kB / 24.54 MB, free: 4.02 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.532/1.532, allocations: 230.3 MB / 258 MB, free: 8.219 MB / 206.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.2402/0.2402, allocations: 46.9 MB / 361.3 MB, free: 4.426 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.003809/0.003809, allocations: 75.88 kB / 0.497 GB, free: 7.59 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3596, allocations: 66.03 MB / 0.5615 GB, free: 4.609 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.00264/0.3623, allocations: 1.216 MB / 0.5627 GB, free: 3.387 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0009431/0.3632, allocations: 435.8 kB / 0.5631 GB, free: 2.957 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 1.412e-05/0.3632, allocations: 0 / 0.5631 GB, free: 2.957 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 2.169e-05/0.3632, allocations: 0 / 0.5631 GB, free: 2.957 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 2.98e-05/0.3633, allocations: 4 kB / 0.5631 GB, free: 2.953 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005828/0.3638, allocations: 71.73 kB / 0.5632 GB, free: 2.883 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 5.743e-05/0.3639, allocations: 4 kB / 0.5632 GB, free: 2.879 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.935e-05/0.3639, allocations: 0 / 0.5632 GB, free: 2.879 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.122e-05/0.364, allocations: 4 kB / 0.5632 GB, free: 2.875 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.3642, allocations: 39.89 kB / 0.5633 GB, free: 2.836 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.145e-06/0.3643, allocations: 0 / 0.5633 GB, free: 2.836 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.752e-05/0.3643, allocations: 4 kB / 0.5633 GB, free: 2.832 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.3643, allocations: 8 kB / 0.5633 GB, free: 2.824 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.3644, allocations: 4 kB / 0.5633 GB, free: 2.82 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 8.838e-05/0.3644, allocations: 11.78 kB / 0.5633 GB, free: 2.812 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3644, allocations: 0 / 0.5633 GB, free: 2.812 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.673e-06/0.3645, allocations: 0 / 0.5633 GB, free: 2.812 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.482e-06/0.3645, allocations: 0 / 0.5633 GB, free: 2.812 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.0003453/0.3648, allocations: 238.5 kB / 0.5635 GB, free: 2.547 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.3648, allocations: 12.03 kB / 0.5635 GB, free: 2.535 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.365, allocations: 4.922 kB / 0.5635 GB, free: 2.531 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.932e-05/0.3651, allocations: 110.5 kB / 0.5636 GB, free: 2.398 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.924e-06/0.3651, allocations: 4.375 kB / 0.5636 GB, free: 2.395 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.3651, allocations: 4.375 kB / 0.5636 GB, free: 2.391 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.91e-05/0.3652, allocations: 30.27 kB / 0.5637 GB, free: 2.355 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.3652, allocations: 192 / 0.5637 GB, free: 2.355 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3652, allocations: 3.938 kB / 0.5637 GB, free: 2.352 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3652, allocations: 0 / 0.5637 GB, free: 2.352 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.585e-05/0.3653, allocations: 0 / 0.5637 GB, free: 2.352 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/0.3656, allocations: 354.6 kB / 0.564 GB, free: 1.961 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.3657, allocations: 173 kB / 0.5642 GB, free: 1.781 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.53e-05/0.3658, allocations: 84.14 kB / 0.5643 GB, free: 1.695 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/0.3658, allocations: 83.25 kB / 0.5643 GB, free: 1.613 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/0.3659, allocations: 105.8 kB / 0.5644 GB, free: 1.5 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3659, allocations: 4 kB / 0.5644 GB, free: 1.496 MB / 398.1 MB
Notification: Performance of matching and sorting (n=0): time 7.561e-05/0.3659, allocations: 29.66 kB / 0.5645 GB, free: 1.461 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.366, allocations: 134.6 kB / 0.5646 GB, free: 1.316 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.762e-05/0.3661, allocations: 93.86 kB / 0.5647 GB, free: 1.215 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.3661, allocations: 25.7 kB / 0.5647 GB, free: 1.184 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.3662, allocations: 87.78 kB / 0.5648 GB, free: 1.098 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.3662, allocations: 0 / 0.5648 GB, free: 1.098 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.3662, allocations: 21.78 kB / 0.5648 GB, free: 1.07 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001377/0.3664, allocations: 314.8 kB / 0.5651 GB, free: 0.7539 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-06/0.3664, allocations: 0 / 0.5651 GB, free: 0.7539 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.148e-06/0.3664, allocations: 0 / 0.5651 GB, free: 0.7539 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 2.918e-05/0.3664, allocations: 12.89 kB / 0.5651 GB, free: 0.7383 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3664, allocations: 0 / 0.5651 GB, free: 0.7383 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001009/0.3665, allocations: 41.56 kB / 0.5652 GB, free: 0.6914 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3665, allocations: 6.344 kB / 0.5652 GB, free: 0.6875 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3665, allocations: 4.094 kB / 0.5652 GB, free: 0.6836 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3665, allocations: 0 / 0.5652 GB, free: 0.6836 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.026e-05/0.3666, allocations: 4 kB / 0.5652 GB, free: 0.6797 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3666, allocations: 0 / 0.5652 GB, free: 0.6797 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.393e-05/0.3666, allocations: 4 kB / 0.5652 GB, free: 0.6758 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.3666, allocations: 0 / 0.5652 GB, free: 0.6758 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 0.0001136/0.3667, allocations: 189.1 kB / 0.5654 GB, free: 492 kB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.454e-05/0.3668, allocations: 101 kB / 0.5655 GB, free: 384 kB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.436e-05/0.3668, allocations: 119.7 kB / 0.5656 GB, free: 256 kB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.447e-05/0.3669, allocations: 176.3 kB / 0.5657 GB, free: 72 kB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.887e-05/0.367, allocations: 180.3 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.141e-05/0.3671, allocations: 184.2 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.3674, allocations: 373.3 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.268e-05/0.3674, allocations: 112.9 kB / 0.5666 GB, free: 15.17 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.103e-05/0.3675, allocations: 105 kB / 0.5667 GB, free: 15.06 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.82e-05/0.3675, allocations: 176.3 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.698e-05/0.3676, allocations: 184.2 kB / 0.567 GB, free: 14.69 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.563e-05/0.3677, allocations: 184.2 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.015e-05/0.3678, allocations: 180.2 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.368, allocations: 315.9 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.3681, allocations: 109 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.3682, allocations: 184.3 kB / 0.5679 GB, free: 13.69 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.992e-05/0.3683, allocations: 108.9 kB / 0.568 GB, free: 13.57 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.079e-05/0.3684, allocations: 180.3 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.652e-05/0.3684, allocations: 104.9 kB / 0.5683 GB, free: 13.28 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 4.901e-05/0.3685, allocations: 79.28 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3685, allocations: 0 / 0.5684 GB, free: 13.2 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002307/0.3687, allocations: 4 kB / 0.5684 GB, free: 13.2 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.0001523/0.3688, allocations: 171 kB / 0.5685 GB, free: 13.02 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 9.164e-05/0.3689, allocations: 8.094 kB / 0.5685 GB, free: 13.01 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3689, allocations: 0 / 0.5685 GB, free: 13.01 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.3689, allocations: 0 / 0.5685 GB, free: 13.01 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.3694, allocations: 455.6 kB / 0.569 GB, free: 12.56 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.3697, allocations: 160.9 kB / 0.5691 GB, free: 12.38 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.37, allocations: 0.6729 MB / 0.5698 GB, free: 11.68 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 1.908e-05/0.37, allocations: 4.062 kB / 0.5698 GB, free: 11.67 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.37, allocations: 11.44 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.37, allocations: 0 / 0.5698 GB, free: 11.66 MB / 414.1 MB
Notification: Performance of Templates: time 0.002234/0.3722, allocations: 168.9 kB / 0.57 GB, free: 11.5 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: 5.086865509860218]
Failed to read output from testmodel.py, exit status != 0:
0.3834641706198454 0.39617536299999995 0.028363919
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fc36e2617b0>