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.001234/0.001234, 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.001341/0.001341, 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.313/1.313, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.3027/0.3027, allocations: 49.56 MB / 337.1 MB, free: 4.113 MB / 270.1 MB " [Timeout remaining time 179] 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.TestGasTurbineStodola,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbineStodola,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola",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.002328/0.002328, allocations: 67.89 kB / 477.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1073, allocations: 62.42 MB / 0.5269 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.3791/0.4863, allocations: 171.4 MB / 0.6942 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005989/0.4923, allocations: 3.802 MB / 0.6979 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004066/0.4927, allocations: 7.938 kB / 0.6979 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008234/0.4936, allocations: 290.3 kB / 0.6982 GB, free: 6.66 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.0008813/0.4944, allocations: 445.7 kB / 0.6986 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003684/0.4981, allocations: 1.501 MB / 0.7001 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.4996, allocations: 1.231 MB / 0.7013 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004409/0.5, allocations: 314.4 kB / 0.7016 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006209/0.5006, allocations: 482.4 kB / 0.7021 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005772/0.5012, allocations: 438.5 kB / 0.7025 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.184e-05/0.5013, allocations: 52 kB / 0.7025 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002787/0.5041, allocations: 1.508 MB / 0.704 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003277/0.5044, allocations: 331.1 kB / 0.7043 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004384/0.5048, allocations: 414.2 kB / 0.7047 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002184/0.507, allocations: 1.622 MB / 0.7063 GB, free: 14.35 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.507, allocations: 0 / 0.7063 GB, free: 14.35 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.507, allocations: 4 kB / 0.7063 GB, free: 14.35 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.507, allocations: 0 / 0.7063 GB, free: 14.35 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.00194/0.509, allocations: 1.084 MB / 0.7074 GB, free: 13.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.509, allocations: 11.97 kB / 0.7074 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.137e-05/0.509, allocations: 18.81 kB / 0.7074 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001127/0.5092, allocations: 94.52 kB / 0.7075 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006972/0.5099, allocations: 143.4 kB / 0.7076 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007685/0.5106, allocations: 466.7 kB / 0.7081 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.5107, allocations: 41.31 kB / 0.7081 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-05/0.5107, allocations: 48 kB / 0.7082 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.5117, allocations: 0.6159 MB / 0.7088 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.5118, allocations: 11.83 kB / 0.7088 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.465e-05/0.5118, allocations: 28 kB / 0.7088 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.5119, allocations: 12 kB / 0.7088 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000763/0.5126, allocations: 473 kB / 0.7093 GB, free: 11.24 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.003985/0.5166, allocations: 2.008 MB / 0.7112 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.5168, allocations: 122.6 kB / 0.7113 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.858e-05/0.5169, allocations: 52.83 kB / 0.7114 GB, free: 8.953 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002325/0.5172, allocations: 47.95 kB / 0.7114 GB, free: 8.906 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.5172, allocations: 39.44 kB / 0.7115 GB, free: 8.859 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.5172, allocations: 0 / 0.7115 GB, free: 8.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0004899/0.5177, allocations: 245.9 kB / 0.7117 GB, free: 8.613 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.5177, allocations: 55.41 kB / 0.7118 GB, free: 8.547 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.519, allocations: 0.9927 MB / 0.7127 GB, free: 7.547 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.473e-05/0.5191, allocations: 29.7 kB / 0.7127 GB, free: 7.512 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/0.5194, allocations: 395.9 kB / 0.7131 GB, free: 7.121 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.5194, allocations: 51.59 kB / 0.7132 GB, free: 7.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.5196, allocations: 90.08 kB / 0.7133 GB, free: 6.977 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5197, allocations: 322 kB / 0.7136 GB, free: 6.656 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.5199, allocations: 130.6 kB / 0.7137 GB, free: 6.527 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.5203, allocations: 250.3 kB / 0.7139 GB, free: 6.219 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004678/0.5207, allocations: 345.7 kB / 0.7143 GB, free: 5.816 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.5207, allocations: 4 kB / 0.7143 GB, free: 5.812 MB / 0.545 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007567/0.5215, allocations: 472.5 kB / 0.7147 GB, free: 5.344 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5215, allocations: 8.5 kB / 0.7147 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.5215, allocations: 10.5 kB / 0.7147 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.5215, allocations: 8 kB / 0.7147 GB, free: 5.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005196/0.5221, allocations: 115.8 kB / 0.7149 GB, free: 5.207 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004154/0.5225, allocations: 0.6016 MB / 0.7154 GB, free: 4.582 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/0.5229, allocations: 79.39 kB / 0.7155 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.523, allocations: 19.98 kB / 0.7155 GB, free: 4.484 MB / 0.545 GB 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.0003578/0.5233, allocations: 261.6 kB / 0.7158 GB, free: 4.219 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.5235, allocations: 75.53 kB / 0.7159 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004007/0.5239, allocations: 221.2 kB / 0.7161 GB, free: 3.922 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.5239, allocations: 4 kB / 0.7161 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5239, allocations: 0 / 0.7161 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.5239, allocations: 0 / 0.7161 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.5251, allocations: 0.7807 MB / 0.7168 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.5251, allocations: 0 / 0.7168 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.5253, allocations: 43.97 kB / 0.7169 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.5253, allocations: 0 / 0.7169 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.5253, allocations: 4 kB / 0.7169 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003978/0.5257, allocations: 0.6055 MB / 0.7175 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5257, allocations: 5.234 kB / 0.7175 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000486/0.5262, allocations: 385.5 kB / 0.7178 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002048/0.5264, allocations: 104.8 kB / 0.7179 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-05/0.5265, allocations: 4 kB / 0.7179 GB, free: 1.891 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.5269, allocations: 20.05 kB / 0.718 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.527, allocations: 15.97 kB / 0.718 GB, free: 1.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/0.527, allocations: 15.98 kB / 0.718 GB, free: 1.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008826/0.5279, allocations: 0.6981 MB / 0.7187 GB, free: 1.145 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.5279, allocations: 0 / 0.7187 GB, free: 1.145 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007252/0.5286, allocations: 215.6 kB / 0.7189 GB, free: 0.9336 MB / 0.545 GB 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.002526/0.5311, allocations: 1.37 MB / 0.7202 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005506/0.5317, allocations: 239.7 kB / 0.7205 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5317, allocations: 0 / 0.7205 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.5318, allocations: 69.16 kB / 0.7205 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.5334, allocations: 327.1 kB / 0.7208 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008917/0.5423, allocations: 6.339 MB / 0.727 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006098/0.5429, allocations: 0.9174 MB / 0.7279 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005153/0.5434, allocations: 137.7 kB / 0.728 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003297/0.5437, allocations: 231.4 kB / 0.7283 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/0.5437, allocations: 0 / 0.7283 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05589/0.5996, allocations: 22.61 MB / 0.7503 GB, free: 280 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.07, allocations: 12 kB / 0.7504 GB, free: 268 kB / 0.5762 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.8868968130555] Failed to read output from testmodel.py, exit status != 0: 14.29989335197024 14.314016504 13.803993742 Calling exit ...