Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.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.001239/0.001239, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001401/0.001401, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 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 1.3/1.3, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 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.2756/0.2756, allocations: 49.57 MB / 337.1 MB, free: 4.117 MB / 270.1 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: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbine,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbine,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 71.89 kB / 477.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.107, allocations: 62.43 MB / 0.5269 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.3682/0.4752, allocations: 171.3 MB / 0.6941 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005451/0.4806, allocations: 3.84 MB / 0.6979 GB, free: 7 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003962/0.481, allocations: 15.88 kB / 0.6979 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008403/0.4818, allocations: 274.3 kB / 0.6982 GB, free: 6.715 MB / 0.5294 GB [/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.001055/0.4829, allocations: 0.4898 MB / 0.6986 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003703/0.4866, allocations: 1.574 MB / 0.7002 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001552/0.4882, allocations: 1.266 MB / 0.7014 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005491/0.4887, allocations: 337.8 kB / 0.7017 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008112/0.4895, allocations: 0.4941 MB / 0.7022 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007046/0.4902, allocations: 490.3 kB / 0.7027 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.4903, allocations: 56 kB / 0.7027 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00305/0.4934, allocations: 1.505 MB / 0.7042 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004465/0.4938, allocations: 379 kB / 0.7046 GB, free: 136 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007011/0.4945, allocations: 477.6 kB / 0.705 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002917/0.4975, allocations: 1.737 MB / 0.7067 GB, free: 13.92 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4975, allocations: 0 / 0.7067 GB, free: 13.92 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4975, allocations: 0 / 0.7067 GB, free: 13.92 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.488e-05/0.4975, allocations: 0 / 0.7067 GB, free: 13.92 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002339/0.4998, allocations: 1.239 MB / 0.7079 GB, free: 12.65 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.4999, allocations: 12.03 kB / 0.7079 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.708e-05/0.4999, allocations: 17.81 kB / 0.708 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001281/0.5, allocations: 90.52 kB / 0.708 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000773/0.5008, allocations: 159.3 kB / 0.7082 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.5019, allocations: 0.6066 MB / 0.7088 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/0.5019, allocations: 37 kB / 0.7088 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.244e-05/0.502, allocations: 48 kB / 0.7089 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.5031, allocations: 0.6035 MB / 0.7095 GB, free: 11.03 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.5031, allocations: 7.375 kB / 0.7095 GB, free: 11.03 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.604e-05/0.5032, allocations: 24 kB / 0.7095 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.5032, allocations: 12 kB / 0.7095 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007349/0.5039, allocations: 471.7 kB / 0.7099 GB, free: 10.53 MB / 0.545 GB 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.003925/0.5078, allocations: 2.049 MB / 0.712 GB, free: 8.387 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.5081, allocations: 126.5 kB / 0.7121 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.863e-05/0.5082, allocations: 60.97 kB / 0.7121 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002223/0.5084, allocations: 47.95 kB / 0.7122 GB, free: 8.145 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.5084, allocations: 42.55 kB / 0.7122 GB, free: 8.094 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.5084, allocations: 0 / 0.7122 GB, free: 8.094 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.00052/0.509, allocations: 249.3 kB / 0.7125 GB, free: 7.844 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.509, allocations: 67.28 kB / 0.7125 GB, free: 7.766 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.5106, allocations: 1.336 MB / 0.7138 GB, free: 6.406 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.5107, allocations: 29.7 kB / 0.7139 GB, free: 6.371 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/0.5111, allocations: 479.8 kB / 0.7143 GB, free: 5.898 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.5111, allocations: 47.59 kB / 0.7144 GB, free: 5.852 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.5112, allocations: 89.97 kB / 0.7144 GB, free: 5.758 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5114, allocations: 321.9 kB / 0.7147 GB, free: 5.438 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.5116, allocations: 126.6 kB / 0.7149 GB, free: 5.312 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.5119, allocations: 249.4 kB / 0.7151 GB, free: 5.012 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004364/0.5123, allocations: 336.8 kB / 0.7154 GB, free: 4.621 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.5123, allocations: 4 kB / 0.7154 GB, free: 4.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007534/0.5131, allocations: 476.8 kB / 0.7159 GB, free: 4.145 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.5131, allocations: 8 kB / 0.7159 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.5131, allocations: 7.938 kB / 0.7159 GB, free: 4.129 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.5131, allocations: 8.078 kB / 0.7159 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00043/0.5135, allocations: 99.83 kB / 0.716 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003862/0.5139, allocations: 0.6057 MB / 0.7166 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004362/0.5144, allocations: 91.45 kB / 0.7167 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.711e-05/0.5144, allocations: 20 kB / 0.7167 GB, free: 3.285 MB / 0.545 GB 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: 20 * 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): 46 * 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.0003696/0.5148, allocations: 294.9 kB / 0.717 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.5149, allocations: 95.38 kB / 0.7171 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003981/0.5153, allocations: 242.9 kB / 0.7173 GB, free: 2.652 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.5153, allocations: 7.938 kB / 0.7173 GB, free: 2.645 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.5153, allocations: 4 kB / 0.7173 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5153, allocations: 0 / 0.7173 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006705/0.516, allocations: 0.5286 MB / 0.7178 GB, free: 2.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.516, allocations: 0 / 0.7178 GB, free: 2.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.5162, allocations: 52.39 kB / 0.7179 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.5162, allocations: 0 / 0.7179 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.5163, allocations: 4 kB / 0.7179 GB, free: 2.016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003432/0.5166, allocations: 0.5938 MB / 0.7185 GB, free: 1.398 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5166, allocations: 7.094 kB / 0.7185 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/0.5171, allocations: 387.1 kB / 0.7188 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.5173, allocations: 123.4 kB / 0.719 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.522e-05/0.5174, allocations: 4 kB / 0.719 GB, free: 0.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/0.5178, allocations: 15.98 kB / 0.719 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.5179, allocations: 15.91 kB / 0.719 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.5e-05/0.5179, allocations: 16.05 kB / 0.719 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00118/0.5191, allocations: 0.9618 MB / 0.7199 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5191, allocations: 0 / 0.7199 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006723/0.5197, allocations: 223.6 kB / 0.7202 GB, free: 15.64 MB / 0.5606 GB 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 (14): * Single equations (assignments): 13 * 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.002493/0.5222, allocations: 1.365 MB / 0.7215 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004989/0.5227, allocations: 224.8 kB / 0.7217 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5227, allocations: 4 kB / 0.7217 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.5229, allocations: 59.97 kB / 0.7218 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.5244, allocations: 338.9 kB / 0.7221 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.5345, allocations: 8.023 MB / 0.7299 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006404/0.5352, allocations: 0.9958 MB / 0.7309 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004676/0.5356, allocations: 174.6 kB / 0.7311 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003801/0.536, allocations: 291.3 kB / 0.7313 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.536, allocations: 0 / 0.7313 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05426/0.5903, allocations: 25.26 MB / 0.756 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.49, allocations: 11.97 kB / 0.756 GB, free: 10.45 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.500259572989307] Failed to read output from testmodel.py, exit status != 0: 14.724664628971368 14.914960325 14.41465764 Calling exit ...