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.001389/0.001389, allocations: 121 kB / 18.49 MB, free: 4.586 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.001383/0.001383, allocations: 213.5 kB / 21.45 MB, free: 1.641 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.509/1.509, allocations: 207.6 MB / 231.8 MB, free: 4.07 MB / 174.1 MB " [Timeout remaining time 178] 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.4627/0.4627, allocations: 49.5 MB / 333.2 MB, free: 0.793 MB / 254.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.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.002206/0.002206, allocations: 83.38 kB / 471.5 MB, free: 41.05 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1208, allocations: 62.33 MB / 0.5213 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.5215/0.6423, allocations: 171.1 MB / 0.6884 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005177/0.6475, allocations: 3.82 MB / 0.6921 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005461/0.648, allocations: 16.22 kB / 0.6922 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008816/0.6489, allocations: 274.7 kB / 0.6924 GB, free: 13.86 MB / 0.5137 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.001096/0.65, allocations: 499.3 kB / 0.6929 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003819/0.6538, allocations: 1.561 MB / 0.6944 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001599/0.6554, allocations: 1.245 MB / 0.6956 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005169/0.656, allocations: 337.2 kB / 0.696 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007486/0.6567, allocations: 0.4886 MB / 0.6964 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006164/0.6573, allocations: 491.8 kB / 0.6969 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.6574, allocations: 56.09 kB / 0.697 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002934/0.6604, allocations: 1.487 MB / 0.6984 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003437/0.6607, allocations: 382.4 kB / 0.6988 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005093/0.6612, allocations: 469.4 kB / 0.6992 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002619/0.6638, allocations: 1.736 MB / 0.7009 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6638, allocations: 0 / 0.7009 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6638, allocations: 2.25 kB / 0.7009 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.785e-05/0.6639, allocations: 0 / 0.7009 GB, free: 12.61 MB / 0.5137 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.002295/0.6661, allocations: 1.314 MB / 0.7022 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.6662, allocations: 13.42 kB / 0.7022 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.565e-05/0.6662, allocations: 15.12 kB / 0.7022 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001316/0.6664, allocations: 101.5 kB / 0.7023 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008604/0.6672, allocations: 156.7 kB / 0.7025 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.6684, allocations: 0.6634 MB / 0.7031 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/0.6684, allocations: 38.69 kB / 0.7032 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.693e-05/0.6685, allocations: 50.75 kB / 0.7032 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.6695, allocations: 0.5927 MB / 0.7038 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.6696, allocations: 7.922 kB / 0.7038 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.285e-05/0.6696, allocations: 28.19 kB / 0.7038 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.6696, allocations: 13 kB / 0.7038 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006672/0.6703, allocations: 469.7 kB / 0.7043 GB, free: 10.92 MB / 0.5137 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.004497/0.6748, allocations: 2.343 MB / 0.7066 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.6751, allocations: 127.3 kB / 0.7067 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.4e-05/0.6752, allocations: 48 kB / 0.7067 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002895/0.6754, allocations: 123.8 kB / 0.7069 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.6755, allocations: 45.78 kB / 0.7069 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 2.254e-06/0.6755, allocations: 0 / 0.7069 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0005936/0.6761, allocations: 269.2 kB / 0.7072 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.6761, allocations: 54.12 kB / 0.7072 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.6776, allocations: 1.343 MB / 0.7085 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/0.6777, allocations: 32.17 kB / 0.7086 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/0.678, allocations: 465.8 kB / 0.709 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/0.678, allocations: 57.31 kB / 0.7091 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.6782, allocations: 86.31 kB / 0.7091 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.6783, allocations: 329.3 kB / 0.7094 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.6785, allocations: 132.8 kB / 0.7096 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.6789, allocations: 245 kB / 0.7098 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.6793, allocations: 339.6 kB / 0.7101 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6793, allocations: 0 / 0.7101 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007918/0.6801, allocations: 480.6 kB / 0.7106 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.6801, allocations: 8 kB / 0.7106 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.6801, allocations: 6.828 kB / 0.7106 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.6801, allocations: 7.844 kB / 0.7106 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004829/0.6806, allocations: 105.2 kB / 0.7107 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004782/0.6811, allocations: 0.608 MB / 0.7113 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005148/0.6816, allocations: 77.3 kB / 0.7114 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.51e-05/0.6816, allocations: 20.69 kB / 0.7114 GB, free: 6.871 MB / 0.5137 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.0004241/0.682, allocations: 299.7 kB / 0.7117 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.6822, allocations: 97.06 kB / 0.7118 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003999/0.6826, allocations: 236 kB / 0.712 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.6826, allocations: 6.875 kB / 0.712 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.6826, allocations: 0 / 0.712 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.6826, allocations: 3.984 kB / 0.712 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006882/0.6833, allocations: 0.5586 MB / 0.7126 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.6833, allocations: 0 / 0.7126 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.6835, allocations: 47.25 kB / 0.7126 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.6835, allocations: 0 / 0.7126 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.6836, allocations: 6.25 kB / 0.7126 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004036/0.684, allocations: 0.5984 MB / 0.7132 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.684, allocations: 0.8125 kB / 0.7132 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004557/0.6844, allocations: 380.8 kB / 0.7136 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/0.6847, allocations: 210.2 kB / 0.7138 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.076e-05/0.6848, allocations: 0 / 0.7138 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004284/0.6852, allocations: 21.36 kB / 0.7138 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.6852, allocations: 12.8 kB / 0.7138 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.6853, allocations: 14.92 kB / 0.7138 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001063/0.6863, allocations: 0.9587 MB / 0.7147 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6863, allocations: 0 / 0.7147 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007493/0.6871, allocations: 225.1 kB / 0.715 GB, free: 4.98 MB / 0.5137 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.002548/0.6896, allocations: 1.355 MB / 0.7163 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005069/0.6901, allocations: 221.3 kB / 0.7165 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6901, allocations: 3.031 kB / 0.7165 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.6903, allocations: 69.47 kB / 0.7166 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.6918, allocations: 343.8 kB / 0.7169 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.7029, allocations: 8.016 MB / 0.7247 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000763/0.7036, allocations: 0.989 MB / 0.7257 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006894/0.7043, allocations: 173.5 kB / 0.7258 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000443/0.7047, allocations: 294.1 kB / 0.7261 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of SimCode: time 1.773e-06/0.7047, allocations: 0 / 0.7261 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05979/0.7645, allocations: 24.99 MB / 0.7505 GB, free: 6.172 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/14.83, allocations: 4.062 kB / 0.7505 GB, free: 6.168 MB / 0.545 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: 18.163457621994894] Failed to read output from testmodel.py, exit status != 0: 15.056860548036639 15.073936332 14.406919751 Calling exit ...