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.001495/0.001495, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001753/0.001753, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2113/0.2113, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 75.88 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3524, allocations: 62.44 MB / 0.531 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002181/0.3547, allocations: 1.217 MB / 0.5322 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006001/0.3553, allocations: 332.9 kB / 0.5325 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.086e-05/0.3553, allocations: 0 / 0.5325 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.68e-05/0.3553, allocations: 1.219 kB / 0.5325 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.103e-05/0.3554, allocations: 0 / 0.5325 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.3558, allocations: 65.83 kB / 0.5326 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.056e-05/0.3558, allocations: 3.938 kB / 0.5326 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.3559, allocations: 4 kB / 0.5326 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.524e-05/0.3559, allocations: 2.562 kB / 0.5326 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.3561, allocations: 37.83 kB / 0.5326 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.412e-06/0.3561, allocations: 1.188 kB / 0.5326 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.877e-06/0.3561, allocations: 0 / 0.5326 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.876e-06/0.3561, allocations: 0 / 0.5326 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.804e-05/0.3561, allocations: 5.125 kB / 0.5326 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 4.28e-05/0.3562, allocations: 5.234 kB / 0.5326 GB, free: 12.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3562, allocations: 1.25 kB / 0.5326 GB, free: 12.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3562, allocations: 4 kB / 0.5326 GB, free: 12.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.3562, allocations: 0 / 0.5326 GB, free: 12.52 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.0003168/0.3565, allocations: 311 kB / 0.5329 GB, free: 12.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3566, allocations: 9.594 kB / 0.5329 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.3566, allocations: 2.156 kB / 0.5329 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.167e-05/0.3567, allocations: 160.4 kB / 0.5331 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.3567, allocations: 384 / 0.5331 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.3567, allocations: 9.828 kB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.51e-05/0.3568, allocations: 28.73 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.3568, allocations: 4.188 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.3569, allocations: 3.938 kB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.3569, allocations: 1.312 kB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.628e-05/0.3569, allocations: 1.094 kB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.3572, allocations: 378.1 kB / 0.5335 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.558e-05/0.3573, allocations: 178.4 kB / 0.5337 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.757e-05/0.3573, allocations: 80.14 kB / 0.5337 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.3574, allocations: 75.28 kB / 0.5338 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.3574, allocations: 111.6 kB / 0.5339 GB, free: 11.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3574, allocations: 0 / 0.5339 GB, free: 11.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.168e-05/0.3575, allocations: 27.23 kB / 0.5339 GB, free: 11.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.3575, allocations: 130.6 kB / 0.5341 GB, free: 10.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.96e-05/0.3576, allocations: 95.27 kB / 0.5342 GB, free: 10.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.3576, allocations: 25.7 kB / 0.5342 GB, free: 10.74 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.375e-05/0.3577, allocations: 89.58 kB / 0.5343 GB, free: 10.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.3577, allocations: 0 / 0.5343 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.3578, allocations: 19.12 kB / 0.5343 GB, free: 10.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.3579, allocations: 312 kB / 0.5346 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-06/0.3579, allocations: 0 / 0.5346 GB, free: 10.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.899e-06/0.3579, allocations: 5.594 kB / 0.5346 GB, free: 10.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.047e-05/0.3579, allocations: 11.42 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3579, allocations: 0 / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.659e-05/0.358, allocations: 37.95 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.358, allocations: 5.125 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3581, allocations: 5.688 kB / 0.5346 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3581, allocations: 0 / 0.5346 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.697e-05/0.3581, allocations: 5.672 kB / 0.5346 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.3581, allocations: 4 kB / 0.5347 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.858e-06/0.3582, allocations: 4.094 kB / 0.5347 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.3582, allocations: 1.438 kB / 0.5347 GB, free: 10.25 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.218e-05/0.3583, allocations: 191.1 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-05/0.3583, allocations: 101 kB / 0.5349 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.833e-05/0.3584, allocations: 113.9 kB / 0.535 GB, free: 9.836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.264e-05/0.3585, allocations: 180.2 kB / 0.5352 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-05/0.3585, allocations: 182.2 kB / 0.5354 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-05/0.3586, allocations: 180.2 kB / 0.5356 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.3588, allocations: 403 kB / 0.5359 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.372e-05/0.3588, allocations: 108.9 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/0.3589, allocations: 106.8 kB / 0.5362 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.448e-05/0.359, allocations: 182.3 kB / 0.5363 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-05/0.359, allocations: 180.2 kB / 0.5365 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.885e-05/0.3591, allocations: 182.1 kB / 0.5367 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.908e-05/0.3591, allocations: 188.2 kB / 0.5369 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.3593, allocations: 299.5 kB / 0.5371 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.198e-05/0.3594, allocations: 190.3 kB / 0.5373 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.202e-05/0.3594, allocations: 182.2 kB / 0.5375 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.778e-05/0.3595, allocations: 111 kB / 0.5376 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.3596, allocations: 176.3 kB / 0.5378 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.3596, allocations: 102.9 kB / 0.5379 GB, free: 6.766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.144e-05/0.3597, allocations: 83.22 kB / 0.5379 GB, free: 6.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3597, allocations: 0 / 0.5379 GB, free: 6.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001998/0.3599, allocations: 1.969 kB / 0.5379 GB, free: 6.684 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.0001318/0.36, allocations: 168.8 kB / 0.5381 GB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.123e-05/0.3601, allocations: 9.484 kB / 0.5381 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3601, allocations: 1.094 kB / 0.5381 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.746e-06/0.3601, allocations: 0 / 0.5381 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.3605, allocations: 465.8 kB / 0.5386 GB, free: 6.055 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002823/0.3608, allocations: 161.1 kB / 0.5387 GB, free: 5.875 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.361, allocations: 0.6704 MB / 0.5394 GB, free: 5.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.942e-05/0.361, allocations: 0 / 0.5394 GB, free: 5.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.77e-05/0.3611, allocations: 7.438 kB / 0.5394 GB, free: 5.172 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3611, allocations: 0 / 0.5394 GB, free: 5.172 MB / 398.1 MB Notification: Performance of Templates: time 0.001982/0.3631, allocations: 182.6 kB / 0.5396 GB, free: 5.066 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)