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.001275/0.001275, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.001475/0.001475, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.434/1.434, allocations: 207.6 MB / 231.1 MB, free: 4.102 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.4249/0.4249, allocations: 49.51 MB / 332.5 MB, free: 0.6758 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbine,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine",fmuType="me",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.002077/0.002077, allocations: 75.72 kB / 470.8 MB, free: 41.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1192, allocations: 62.34 MB / 0.5206 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.4989/0.6181, allocations: 171.1 MB / 0.6877 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004862/0.6229, allocations: 3.808 MB / 0.6915 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005596/0.6235, allocations: 15.66 kB / 0.6915 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008875/0.6244, allocations: 277.2 kB / 0.6917 GB, free: 13.87 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.001091/0.6255, allocations: 0.4899 MB / 0.6922 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003798/0.6293, allocations: 1.562 MB / 0.6937 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001499/0.6308, allocations: 1.243 MB / 0.6949 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004933/0.6313, allocations: 334 kB / 0.6953 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006639/0.6319, allocations: 0.4921 MB / 0.6957 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005291/0.6325, allocations: 491 kB / 0.6962 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.311e-05/0.6325, allocations: 56.12 kB / 0.6963 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002781/0.6353, allocations: 1.49 MB / 0.6977 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003746/0.6357, allocations: 383.5 kB / 0.6981 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005143/0.6362, allocations: 465.1 kB / 0.6985 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002822/0.639, allocations: 1.736 MB / 0.7002 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.639, allocations: 2.188 kB / 0.7002 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.639, allocations: 0 / 0.7002 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.804e-05/0.6391, allocations: 4 kB / 0.7002 GB, free: 12.64 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.002225/0.6413, allocations: 1.309 MB / 0.7015 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.6413, allocations: 13.83 kB / 0.7015 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000118/0.6415, allocations: 98.55 kB / 0.7016 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007319/0.6422, allocations: 160.9 kB / 0.7018 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009366/0.6431, allocations: 0.6648 MB / 0.7024 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.6431, allocations: 35.53 kB / 0.7025 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-05/0.6432, allocations: 54.44 kB / 0.7025 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009139/0.6441, allocations: 0.6002 MB / 0.7031 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.6442, allocations: 0 / 0.7031 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.261e-05/0.6442, allocations: 28.25 kB / 0.7031 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.6442, allocations: 12.97 kB / 0.7031 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006304/0.6449, allocations: 464.9 kB / 0.7036 GB, free: 10.95 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.003922/0.6488, allocations: 2.352 MB / 0.7059 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.649, allocations: 126.5 kB / 0.706 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.104e-05/0.6491, allocations: 49.84 kB / 0.706 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/0.6494, allocations: 124.7 kB / 0.7062 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.6494, allocations: 45.22 kB / 0.7062 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.864e-06/0.6494, allocations: 0 / 0.7062 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0005267/0.6499, allocations: 256.6 kB / 0.7064 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.65, allocations: 54.28 kB / 0.7065 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.6514, allocations: 1.338 MB / 0.7078 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/0.6515, allocations: 31.83 kB / 0.7078 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/0.6518, allocations: 473.6 kB / 0.7083 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.98e-05/0.6519, allocations: 57.23 kB / 0.7083 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.652, allocations: 94.84 kB / 0.7084 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.6521, allocations: 325.4 kB / 0.7087 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.6523, allocations: 129.5 kB / 0.7089 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/0.6526, allocations: 244.2 kB / 0.7091 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/0.653, allocations: 337 kB / 0.7094 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.653, allocations: 4.562 kB / 0.7094 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007139/0.6537, allocations: 470.3 kB / 0.7099 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.6538, allocations: 8.25 kB / 0.7099 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.6538, allocations: 4.469 kB / 0.7099 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.6538, allocations: 5.656 kB / 0.7099 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004444/0.6542, allocations: 108.8 kB / 0.71 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000449/0.6547, allocations: 0.6146 MB / 0.7106 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004796/0.6552, allocations: 76.55 kB / 0.7107 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/0.6552, allocations: 25.92 kB / 0.7107 GB, free: 6.898 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.0004069/0.6556, allocations: 293.9 kB / 0.711 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.6558, allocations: 100.9 kB / 0.7111 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004025/0.6562, allocations: 245.4 kB / 0.7113 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.6562, allocations: 2.812 kB / 0.7113 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.6562, allocations: 0 / 0.7113 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.6562, allocations: 0 / 0.7113 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006858/0.6569, allocations: 0.5502 MB / 0.7118 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.6569, allocations: 4.031 kB / 0.7119 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.6571, allocations: 47.59 kB / 0.7119 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.6571, allocations: 3.984 kB / 0.7119 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.6571, allocations: 4.312 kB / 0.7119 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000385/0.6575, allocations: 0.6 MB / 0.7125 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6575, allocations: 3.938 kB / 0.7125 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004732/0.658, allocations: 385.4 kB / 0.7129 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002797/0.6583, allocations: 206.5 kB / 0.7131 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.913e-05/0.6584, allocations: 3.094 kB / 0.7131 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/0.6588, allocations: 21.45 kB / 0.7131 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.6588, allocations: 9.828 kB / 0.7131 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.6588, allocations: 14.14 kB / 0.7131 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001043/0.6599, allocations: 0.9552 MB / 0.714 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.6599, allocations: 0 / 0.714 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007768/0.6606, allocations: 223.6 kB / 0.7142 GB, free: 5.012 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.002584/0.6632, allocations: 1.365 MB / 0.7156 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004998/0.6637, allocations: 222.9 kB / 0.7158 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.6637, allocations: 2.906 kB / 0.7158 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.6639, allocations: 67.69 kB / 0.7159 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.6654, allocations: 341.4 kB / 0.7162 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009819/0.6752, allocations: 8.003 MB / 0.724 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006598/0.6759, allocations: 0.9934 MB / 0.725 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000552/0.6764, allocations: 166.5 kB / 0.7251 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004042/0.6768, allocations: 298.3 kB / 0.7254 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of SimCode: time 1.243e-06/0.6768, allocations: 3.938 kB / 0.7254 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06129/0.7381, allocations: 24.95 MB / 0.7498 GB, free: 6.176 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.98, allocations: 3.938 kB / 0.7498 GB, free: 6.172 MB / 0.545 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.123035869997693] Failed to read output from testmodel.py, exit status != 0: 14.133819561000564 14.161743326 13.517816759 Calling exit ...