Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 85.28 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 164.9 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 177.1 MB / 204.3 MB, free: 9.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1412/0.1412, allocations: 19.74 MB / 280.4 MB, free: 12.93 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia") translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 3.984 kB / 417 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.419e-05, allocations: 6.219 kB / 417 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.3628/0.3629, allocations: 146.8 MB / 0.5507 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005534/0.3684, allocations: 3.469 MB / 0.5541 GB, free: 7.203 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004311/0.3688, allocations: 7.938 kB / 0.5541 GB, free: 7.195 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000899/0.3697, allocations: 266.1 kB / 0.5543 GB, free: 6.934 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.371, allocations: 0.6451 MB / 0.5549 GB, free: 6.285 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004256/0.3753, allocations: 1.641 MB / 0.5566 GB, free: 4.656 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001886/0.3771, allocations: 1.387 MB / 0.5579 GB, free: 3.262 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007712/0.3779, allocations: 377.8 kB / 0.5583 GB, free: 2.891 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.3793, allocations: 0.713 MB / 0.559 GB, free: 2.176 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009509/0.3802, allocations: 0.5065 MB / 0.5595 GB, free: 1.668 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.3804, allocations: 56 kB / 0.5595 GB, free: 1.613 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.3821, allocations: 0.67 MB / 0.5602 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005163/0.3826, allocations: 498.7 kB / 0.5606 GB, free: 464 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004765/0.3831, allocations: 355.1 kB / 0.561 GB, free: 108 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002307/0.3854, allocations: 1.628 MB / 0.5626 GB, free: 14.47 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3854, allocations: 0 / 0.5626 GB, free: 14.47 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3854, allocations: 0 / 0.5626 GB, free: 14.47 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.813e-05/0.3854, allocations: 0 / 0.5626 GB, free: 14.47 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002402/0.3878, allocations: 1.457 MB / 0.564 GB, free: 12.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.3878, allocations: 12.03 kB / 0.564 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008668/0.3887, allocations: 191 kB / 0.5642 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.39, allocations: 0.8062 MB / 0.565 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.717e-05/0.39, allocations: 37.31 kB / 0.565 GB, free: 11.9 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.3901, allocations: 58.77 kB / 0.5651 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.3914, allocations: 1.054 MB / 0.5661 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.3914, allocations: 4 kB / 0.5661 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-05/0.3915, allocations: 23.98 kB / 0.5661 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.3915, allocations: 15.94 kB / 0.5661 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007762/0.3923, allocations: 480.9 kB / 0.5666 GB, free: 10.16 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003959/0.3962, allocations: 1.827 MB / 0.5684 GB, free: 8.289 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.3966, allocations: 185.3 kB / 0.5686 GB, free: 8.102 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.3967, allocations: 84.77 kB / 0.5686 GB, free: 8.016 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002155/0.3969, allocations: 23.97 kB / 0.5687 GB, free: 7.992 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.397, allocations: 42.55 kB / 0.5687 GB, free: 7.941 MB / 462.1 MB Notification: Performance of pre-optimization done (n=20): time 1.964e-06/0.397, allocations: 0 / 0.5687 GB, free: 7.941 MB / 462.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006848/0.3977, allocations: 348.4 kB / 0.569 GB, free: 7.598 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.3977, allocations: 55.34 kB / 0.5691 GB, free: 7.531 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002057/0.3998, allocations: 1.689 MB / 0.5707 GB, free: 5.828 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/0.3998, allocations: 33.7 kB / 0.5708 GB, free: 5.789 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000503/0.4003, allocations: 0.5747 MB / 0.5713 GB, free: 5.211 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/0.4004, allocations: 79.38 kB / 0.5714 GB, free: 5.133 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.4005, allocations: 78.02 kB / 0.5715 GB, free: 5.051 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4007, allocations: 322 kB / 0.5718 GB, free: 4.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.4009, allocations: 138.7 kB / 0.5719 GB, free: 4.594 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/0.4012, allocations: 232.3 kB / 0.5721 GB, free: 4.324 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004974/0.4017, allocations: 334 kB / 0.5725 GB, free: 3.949 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.4017, allocations: 4 kB / 0.5725 GB, free: 3.945 MB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000873/0.4026, allocations: 0.4965 MB / 0.5729 GB, free: 3.441 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.4026, allocations: 4 kB / 0.5729 GB, free: 3.438 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.4026, allocations: 4 kB / 0.573 GB, free: 3.434 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.4026, allocations: 8 kB / 0.573 GB, free: 3.426 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006029/0.4032, allocations: 116.7 kB / 0.5731 GB, free: 3.312 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.4044, allocations: 1.79 MB / 0.5748 GB, free: 1.453 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004027/0.4048, allocations: 55.59 kB / 0.5749 GB, free: 1.398 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-05/0.4049, allocations: 20.55 kB / 0.5749 GB, free: 1.379 MB / 462.1 MB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005229/0.4054, allocations: 377.6 kB / 0.5753 GB, free: 1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.4056, allocations: 111.3 kB / 0.5754 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005981/0.4062, allocations: 335.9 kB / 0.5757 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4062, allocations: 8 kB / 0.5757 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4062, allocations: 0 / 0.5757 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4062, allocations: 0 / 0.5757 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007845/0.407, allocations: 0.5386 MB / 0.5762 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.407, allocations: 0 / 0.5762 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003862/0.4074, allocations: 65.02 kB / 0.5763 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.4074, allocations: 4 kB / 0.5763 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.4074, allocations: 7.984 kB / 0.5763 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.4085, allocations: 1.781 MB / 0.578 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4085, allocations: 0 / 0.578 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007/0.4092, allocations: 494.9 kB / 0.5785 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002597/0.4095, allocations: 135.3 kB / 0.5786 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.4096, allocations: 11.44 kB / 0.5786 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004545/0.41, allocations: 19.97 kB / 0.5787 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.4101, allocations: 15.97 kB / 0.5787 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.881e-05/0.4101, allocations: 23.95 kB / 0.5787 GB, free: 13.36 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001577/0.4117, allocations: 1.193 MB / 0.5799 GB, free: 12.16 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4117, allocations: 4 kB / 0.5799 GB, free: 12.15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008268/0.4125, allocations: 267.3 kB / 0.5801 GB, free: 11.89 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002047/0.4146, allocations: 0.5367 MB / 0.5806 GB, free: 11.51 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007364/0.4153, allocations: 271.6 kB / 0.5809 GB, free: 11.25 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4153, allocations: 0 / 0.5809 GB, free: 11.25 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.4156, allocations: 112.6 kB / 0.581 GB, free: 11.14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.4167, allocations: 207.4 kB / 0.5812 GB, free: 10.93 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/0.4198, allocations: 1.987 MB / 0.5831 GB, free: 8.91 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006448/0.4205, allocations: 0.5161 MB / 0.5837 GB, free: 8.363 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004939/0.4209, allocations: 194.6 kB / 0.5838 GB, free: 8.168 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.4211, allocations: 68.48 kB / 0.5839 GB, free: 8.102 MB / 478.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4211, allocations: 4 kB / 0.5839 GB, free: 8.098 MB / 478.1 MB Notification: Performance of Templates: time 0.02699/0.4481, allocations: 13.66 MB / 0.5972 GB, free: 10.55 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.396973390132189] Failed to read output from testmodel.py, exit status != 0: 0.45705972239375114 0.47258609300000004 0.08386958900000001 Calling exit ...