Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.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.00141/0.00141, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001197/0.001197, allocations: 168.4 kB / 24.91 MB, free: 8.262 MB / 18.57 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 0.9636/0.9636, allocations: 177.1 MB / 205.3 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] 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.1036/0.1036, allocations: 19.74 MB / 281.6 MB, free: 9.121 MB / 266.7 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.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 305.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.025e-05, allocations: 3.406 kB / 305.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.2888/0.2888, allocations: 147.5 MB / 452.7 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003944/0.2928, allocations: 3.561 MB / 456.3 MB, free: 9.992 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003649/0.2931, allocations: 13.47 kB / 456.3 MB, free: 9.992 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005403/0.2937, allocations: 162.8 kB / 456.5 MB, free: 9.988 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009749/0.2946, allocations: 0.6289 MB / 457.1 MB, free: 9.969 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002597/0.2972, allocations: 1.453 MB / 458.5 MB, free: 9.922 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001412/0.2986, allocations: 1.344 MB / 459.9 MB, free: 9.922 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005195/0.2992, allocations: 375.2 kB / 460.2 MB, free: 9.898 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.3006, allocations: 0.8768 MB / 461.1 MB, free: 9.898 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000707/0.3013, allocations: 353.8 kB / 461.5 MB, free: 9.898 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001865/0.3015, allocations: 56.81 kB / 461.5 MB, free: 9.898 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002509/0.304, allocations: 1.058 MB / 462.6 MB, free: 9.879 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004977/0.3045, allocations: 469 kB / 463 MB, free: 9.875 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007427/0.3052, allocations: 335.1 kB / 463.4 MB, free: 9.867 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002925/0.3082, allocations: 1.537 MB / 464.9 MB, free: 9.684 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3082, allocations: 2.766 kB / 464.9 MB, free: 9.684 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.3082, allocations: 2.156 kB / 464.9 MB, free: 9.684 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.13e-05/0.3082, allocations: 0 / 464.9 MB, free: 9.684 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002699/0.3109, allocations: 1.416 MB / 466.3 MB, free: 8.875 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.311, allocations: 10.59 kB / 466.3 MB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009772/0.3119, allocations: 235.9 kB / 466.6 MB, free: 8.844 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.3129, allocations: 0.5968 MB / 467.2 MB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.313, allocations: 37.72 kB / 467.2 MB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.15e-05/0.3131, allocations: 63.34 kB / 467.3 MB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006693/0.3137, allocations: 0.8214 MB / 468.1 MB, free: 7.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.3138, allocations: 0 / 468.1 MB, free: 7.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/0.3138, allocations: 27.41 kB / 468.1 MB, free: 7.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.3138, allocations: 12.12 kB / 468.1 MB, free: 7.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003014/0.3141, allocations: 155.8 kB / 468.3 MB, free: 7.898 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/0.3168, allocations: 1.234 MB / 469.5 MB, free: 7.469 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.317, allocations: 125.3 kB / 469.6 MB, free: 7.395 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.284e-05/0.317, allocations: 26.7 kB / 469.7 MB, free: 7.383 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002086/0.3173, allocations: 45.69 kB / 469.7 MB, free: 7.383 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.3173, allocations: 36.69 kB / 469.7 MB, free: 7.344 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.3173, allocations: 0.9375 kB / 469.7 MB, free: 7.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003208/0.3176, allocations: 137.1 kB / 469.9 MB, free: 7.312 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.3176, allocations: 58.72 kB / 469.9 MB, free: 7.246 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.3188, allocations: 1.031 MB / 471 MB, free: 7.066 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.3188, allocations: 28.14 kB / 471 MB, free: 7.035 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/0.3191, allocations: 422 kB / 471.4 MB, free: 6.812 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.3191, allocations: 53.89 kB / 471.5 MB, free: 6.781 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.3192, allocations: 80.3 kB / 471.5 MB, free: 6.762 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.511e-05/0.3193, allocations: 320.8 kB / 471.8 MB, free: 6.457 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.3194, allocations: 55.75 kB / 471.9 MB, free: 6.441 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.3195, allocations: 182.8 kB / 472.1 MB, free: 6.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.3198, allocations: 254.8 kB / 472.3 MB, free: 6.074 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.3198, allocations: 3.406 kB / 472.3 MB, free: 6.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004541/0.3202, allocations: 284.5 kB / 472.6 MB, free: 6.016 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3202, allocations: 12 kB / 472.6 MB, free: 6.016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3203, allocations: 2.938 kB / 472.6 MB, free: 6.016 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.3203, allocations: 12.94 kB / 472.6 MB, free: 6.012 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/0.3208, allocations: 128.7 kB / 472.8 MB, free: 6.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003742/0.3212, allocations: 1.177 MB / 473.9 MB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003527/0.3216, allocations: 42.81 kB / 474 MB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-05/0.3216, allocations: 18.66 kB / 474 MB, free: 4.812 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002659/0.3219, allocations: 142.1 kB / 474.1 MB, free: 4.691 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.322, allocations: 65.48 kB / 474.2 MB, free: 4.691 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003044/0.3223, allocations: 172.2 kB / 474.4 MB, free: 4.637 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3223, allocations: 7.203 kB / 474.4 MB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.3223, allocations: 0 / 474.4 MB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3223, allocations: 7.469 kB / 474.4 MB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005585/0.3228, allocations: 332.3 kB / 474.7 MB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3229, allocations: 0 / 474.7 MB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003016/0.3232, allocations: 63.58 kB / 474.8 MB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3232, allocations: 0 / 474.8 MB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.3232, allocations: 3.141 kB / 474.8 MB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002712/0.3234, allocations: 1.169 MB / 475.9 MB, free: 3.379 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3234, allocations: 0 / 475.9 MB, free: 3.379 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.3237, allocations: 295.2 kB / 476.2 MB, free: 3.199 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.3239, allocations: 109 kB / 476.3 MB, free: 3.133 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.114e-05/0.3239, allocations: 0.875 kB / 476.3 MB, free: 3.133 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.3242, allocations: 16.86 kB / 476.4 MB, free: 3.133 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.3243, allocations: 11.8 kB / 476.4 MB, free: 3.133 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.3243, allocations: 14.73 kB / 476.4 MB, free: 3.133 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006656/0.325, allocations: 0.5272 MB / 476.9 MB, free: 3.086 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.325, allocations: 0 / 476.9 MB, free: 3.086 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008635/0.3258, allocations: 233.6 kB / 477.1 MB, free: 3.051 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ConstantSpeed1.phi) * 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001779/0.3276, allocations: 0.5729 MB / 477.7 MB, free: 2.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003949/0.328, allocations: 150.2 kB / 477.9 MB, free: 2.895 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.65e-05/0.328, allocations: 16.47 kB / 477.9 MB, free: 2.895 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.3282, allocations: 50.77 kB / 477.9 MB, free: 2.887 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008291/0.329, allocations: 197.6 kB / 478.1 MB, free: 2.863 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/0.3319, allocations: 1.62 MB / 479.7 MB, free: 2.074 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.3321, allocations: 240.5 kB / 480 MB, free: 2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004327/0.3325, allocations: 104.5 kB / 480.1 MB, free: 1.984 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006469/0.3332, allocations: 244.9 kB / 480.3 MB, free: 1.934 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.3332, allocations: 1.031 kB / 480.3 MB, free: 1.934 MB / 410.7 MB Notification: Performance of Templates: time 0.02415/0.3573, allocations: 12.57 MB / 492.9 MB, free: 464 kB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5091981808654964]