Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.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.001025/0.001025, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001803/0.001803, allocations: 165 kB / 24.56 MB, free: 8 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9425/0.9425, allocations: 158.6 MB / 186.4 MB, free: 2.867 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1768/0.1768, allocations: 36.35 MB / 275.1 MB, free: 10.64 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 353.8 MB, free: 3.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.921e-05, allocations: 10.31 kB / 353.8 MB, free: 3.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.3153/0.3154, allocations: 146.5 MB / 0.4886 GB, free: 4.551 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004144/0.3195, allocations: 3.538 MB / 0.492 GB, free: 2.523 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002965/0.3198, allocations: 9.844 kB / 0.492 GB, free: 2.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005641/0.3204, allocations: 148.4 kB / 0.4922 GB, free: 2.406 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.000786/0.3211, allocations: 471.6 kB / 0.4926 GB, free: 2.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002882/0.324, allocations: 1.37 MB / 0.4939 GB, free: 1.109 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001301/0.3253, allocations: 1.206 MB / 0.4951 GB, free: 420 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004806/0.3258, allocations: 324.2 kB / 0.4954 GB, free: 188 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008308/0.3266, allocations: 0.6033 MB / 0.496 GB, free: 15.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005598/0.3272, allocations: 390.6 kB / 0.4964 GB, free: 15.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.451e-05/0.3273, allocations: 56.72 kB / 0.4965 GB, free: 15.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.3294, allocations: 1.071 MB / 0.4975 GB, free: 15.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002772/0.3297, allocations: 337.7 kB / 0.4978 GB, free: 14.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003121/0.33, allocations: 284.6 kB / 0.4981 GB, free: 14.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00245/0.3324, allocations: 1.355 MB / 0.4994 GB, free: 13.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3324, allocations: 0 / 0.4994 GB, free: 13.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3324, allocations: 0 / 0.4994 GB, free: 13.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.3324, allocations: 4 kB / 0.4994 GB, free: 13.67 MB / 378.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.001784/0.3342, allocations: 1.153 MB / 0.5005 GB, free: 12.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.3343, allocations: 8.031 kB / 0.5006 GB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007734/0.335, allocations: 235.9 kB / 0.5008 GB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006701/0.3357, allocations: 434.7 kB / 0.5012 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.3358, allocations: 37.69 kB / 0.5012 GB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.3359, allocations: 60.38 kB / 0.5013 GB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.3376, allocations: 0.8528 MB / 0.5021 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.3376, allocations: 3.953 kB / 0.5021 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.996e-05/0.3377, allocations: 32 kB / 0.5022 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.3377, allocations: 12 kB / 0.5022 GB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.338, allocations: 227.6 kB / 0.5024 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002463/0.3405, allocations: 1.591 MB / 0.5039 GB, free: 8.805 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.3406, allocations: 83.12 kB / 0.504 GB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.406e-05/0.3407, allocations: 31.67 kB / 0.504 GB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/0.3408, allocations: 55.95 kB / 0.5041 GB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.3409, allocations: 41.39 kB / 0.5041 GB, free: 8.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.824e-06/0.3409, allocations: 0 / 0.5041 GB, free: 8.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003085/0.3412, allocations: 173.2 kB / 0.5043 GB, free: 8.395 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.3412, allocations: 55.41 kB / 0.5044 GB, free: 8.328 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004708/0.3417, allocations: 0.6195 MB / 0.505 GB, free: 7.691 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.3417, allocations: 33.7 kB / 0.505 GB, free: 7.652 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.3419, allocations: 466.3 kB / 0.5054 GB, free: 7.191 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.342, allocations: 55.58 kB / 0.5055 GB, free: 7.137 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.41e-05/0.3421, allocations: 91.75 kB / 0.5056 GB, free: 7.039 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3422, allocations: 0.543 MB / 0.5061 GB, free: 6.484 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.3423, allocations: 69.64 kB / 0.5062 GB, free: 6.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.3425, allocations: 254.3 kB / 0.5064 GB, free: 6.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.3427, allocations: 313.1 kB / 0.5067 GB, free: 5.676 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3427, allocations: 0 / 0.5067 GB, free: 5.676 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004007/0.3431, allocations: 348.6 kB / 0.507 GB, free: 5.328 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3432, allocations: 11.94 kB / 0.5071 GB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3432, allocations: 4.562 kB / 0.5071 GB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.3432, allocations: 8 kB / 0.5071 GB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.3435, allocations: 111.8 kB / 0.5072 GB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003144/0.3438, allocations: 0.9127 MB / 0.5081 GB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.344, allocations: 54.97 kB / 0.5081 GB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.344, allocations: 23.98 kB / 0.5081 GB, free: 4.18 MB / 378.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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.3442, allocations: 191.2 kB / 0.5083 GB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.31e-05/0.3443, allocations: 59.62 kB / 0.5084 GB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.3445, allocations: 168.1 kB / 0.5085 GB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3445, allocations: 0 / 0.5085 GB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3445, allocations: 0 / 0.5085 GB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.3445, allocations: 0 / 0.5085 GB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007032/0.3452, allocations: 0.707 MB / 0.5092 GB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3452, allocations: 4 kB / 0.5092 GB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.3453, allocations: 39.97 kB / 0.5093 GB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.3453, allocations: 4.094 kB / 0.5093 GB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.3454, allocations: 4 kB / 0.5093 GB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002567/0.3456, allocations: 0.9089 MB / 0.5102 GB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3456, allocations: 3.984 kB / 0.5102 GB, free: 2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.3459, allocations: 361.3 kB / 0.5105 GB, free: 1.617 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.931e-05/0.346, allocations: 67.53 kB / 0.5106 GB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.346, allocations: 3.984 kB / 0.5106 GB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.3462, allocations: 19.98 kB / 0.5106 GB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.3462, allocations: 15.92 kB / 0.5106 GB, free: 1.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.3462, allocations: 16.06 kB / 0.5106 GB, free: 1.496 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002807/0.3465, allocations: 398.8 kB / 0.511 GB, free: 1.109 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3465, allocations: 0 / 0.511 GB, free: 1.109 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005071/0.347, allocations: 219.5 kB / 0.5112 GB, free: 0.8945 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001072/0.3481, allocations: 484.2 kB / 0.5117 GB, free: 464 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003006/0.3484, allocations: 164.3 kB / 0.5118 GB, free: 296 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3484, allocations: 0 / 0.5118 GB, free: 296 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.609e-05/0.3484, allocations: 76.7 kB / 0.5119 GB, free: 216 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/0.349, allocations: 162.9 kB / 0.5121 GB, free: 56 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.3504, allocations: 1.007 MB / 0.5131 GB, free: 15 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.3505, allocations: 161.1 kB / 0.5132 GB, free: 14.83 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002008/0.3507, allocations: 84.25 kB / 0.5133 GB, free: 14.74 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.855e-05/0.3508, allocations: 44.48 kB / 0.5133 GB, free: 14.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3508, allocations: 0 / 0.5133 GB, free: 14.7 MB / 394.7 MB Notification: Performance of Templates: time 0.01308/0.3639, allocations: 9.87 MB / 0.523 GB, free: 4.809 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9550376320257783]