Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.00177/0.00177, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002119/0.002119, allocations: 209.5 kB / 23.74 MB, free: 4.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.408/1.408, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.152/0.152, allocations: 26.82 MB / 340.7 MB, free: 8.219 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0-dev_ThermoPower_Test_GasComponents_TestGasTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbine,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_GasComponents_TestGasTurbine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.002089/0.002089, allocations: 71.89 kB / 476.8 MB, free: 3.703 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3592, allocations: 60.47 MB / 0.5247 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.2172/0.5764, allocations: 170.1 MB / 0.6908 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005736/0.5822, allocations: 3.668 MB / 0.6944 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005685/0.5827, allocations: 7.938 kB / 0.6944 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.5838, allocations: 290.2 kB / 0.6947 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.5852, allocations: 0.5326 MB / 0.6952 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004018/0.5892, allocations: 1.531 MB / 0.6967 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00166/0.5909, allocations: 1.29 MB / 0.6979 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004859/0.5913, allocations: 329.9 kB / 0.6983 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006726/0.592, allocations: 0.5021 MB / 0.6988 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006098/0.5926, allocations: 494.3 kB / 0.6992 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.217e-05/0.5927, allocations: 56 kB / 0.6993 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00252/0.5952, allocations: 1.403 MB / 0.7006 GB, free: 344 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000371/0.5956, allocations: 382.9 kB / 0.701 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004579/0.5961, allocations: 469.6 kB / 0.7015 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002191/0.5983, allocations: 1.721 MB / 0.7031 GB, free: 13.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5983, allocations: 0 / 0.7031 GB, free: 13.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5983, allocations: 0 / 0.7031 GB, free: 13.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.5983, allocations: 0 / 0.7031 GB, free: 13.77 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.002053/0.6003, allocations: 1.261 MB / 0.7044 GB, free: 12.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.6004, allocations: 8.031 kB / 0.7044 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/0.6005, allocations: 94.52 kB / 0.7045 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007096/0.6012, allocations: 171.2 kB / 0.7046 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009945/0.6022, allocations: 0.6027 MB / 0.7052 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.299e-05/0.6022, allocations: 37 kB / 0.7053 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-05/0.6023, allocations: 55.98 kB / 0.7053 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009625/0.6033, allocations: 0.6035 MB / 0.7059 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.6033, allocations: 4 kB / 0.7059 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.404e-05/0.6034, allocations: 27.98 kB / 0.7059 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.6034, allocations: 12 kB / 0.7059 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007276/0.6041, allocations: 467.7 kB / 0.7064 GB, free: 10.36 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.003821/0.6079, allocations: 2.045 MB / 0.7084 GB, free: 8.227 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.6082, allocations: 134.4 kB / 0.7085 GB, free: 8.086 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.644e-05/0.6083, allocations: 57.2 kB / 0.7086 GB, free: 8.027 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002277/0.6085, allocations: 47.97 kB / 0.7086 GB, free: 7.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.6086, allocations: 42.55 kB / 0.7087 GB, free: 7.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.6086, allocations: 4 kB / 0.7087 GB, free: 7.926 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0004906/0.609, allocations: 253 kB / 0.7089 GB, free: 7.672 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.6091, allocations: 59.28 kB / 0.709 GB, free: 7.602 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.6107, allocations: 1.361 MB / 0.7103 GB, free: 6.219 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.6108, allocations: 29.7 kB / 0.7103 GB, free: 6.184 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000404/0.6112, allocations: 483.8 kB / 0.7108 GB, free: 5.707 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.6112, allocations: 55.58 kB / 0.7108 GB, free: 5.652 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.6113, allocations: 85.97 kB / 0.7109 GB, free: 5.562 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.6115, allocations: 326 kB / 0.7112 GB, free: 5.238 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.6117, allocations: 130.5 kB / 0.7113 GB, free: 5.109 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000304/0.612, allocations: 249.5 kB / 0.7116 GB, free: 4.805 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004442/0.6124, allocations: 332.8 kB / 0.7119 GB, free: 4.418 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6124, allocations: 4 kB / 0.7119 GB, free: 4.414 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007339/0.6132, allocations: 487.2 kB / 0.7124 GB, free: 3.934 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.6132, allocations: 8 kB / 0.7124 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.6132, allocations: 7.938 kB / 0.7124 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.6132, allocations: 8 kB / 0.7124 GB, free: 3.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.6137, allocations: 99.88 kB / 0.7125 GB, free: 3.812 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004415/0.6141, allocations: 0.606 MB / 0.7131 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004029/0.6145, allocations: 71.45 kB / 0.7131 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.6145, allocations: 23.98 kB / 0.7132 GB, free: 3.09 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.0003922/0.6149, allocations: 305.5 kB / 0.7135 GB, free: 2.781 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.6151, allocations: 95.39 kB / 0.7136 GB, free: 2.688 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004216/0.6155, allocations: 250 kB / 0.7138 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.6155, allocations: 0 / 0.7138 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.6155, allocations: 0 / 0.7138 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.6155, allocations: 0 / 0.7138 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006892/0.6162, allocations: 0.5444 MB / 0.7143 GB, free: 1.852 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.6162, allocations: 0 / 0.7143 GB, free: 1.852 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.6164, allocations: 47.91 kB / 0.7144 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.6164, allocations: 0 / 0.7144 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.6164, allocations: 4 kB / 0.7144 GB, free: 1.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000363/0.6168, allocations: 0.6016 MB / 0.715 GB, free: 1.176 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.6168, allocations: 3.938 kB / 0.715 GB, free: 1.172 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004797/0.6173, allocations: 395 kB / 0.7153 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.6176, allocations: 123.4 kB / 0.7155 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-05/0.6176, allocations: 8 kB / 0.7155 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/0.618, allocations: 24.14 kB / 0.7155 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.6181, allocations: 15.86 kB / 0.7155 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.6181, allocations: 15.97 kB / 0.7155 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001177/0.6193, allocations: 0.9664 MB / 0.7165 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6193, allocations: 0 / 0.7165 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006905/0.62, allocations: 227.6 kB / 0.7167 GB, free: 15.39 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.002347/0.6223, allocations: 1.345 MB / 0.718 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004727/0.6228, allocations: 215.7 kB / 0.7182 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.6228, allocations: 15.88 kB / 0.7182 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.6229, allocations: 60.97 kB / 0.7183 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.6243, allocations: 338.5 kB / 0.7186 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.6348, allocations: 8.08 MB / 0.7265 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007223/0.6355, allocations: 0.9957 MB / 0.7275 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005253/0.636, allocations: 170.6 kB / 0.7276 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003889/0.6364, allocations: 299.3 kB / 0.7279 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/0.6364, allocations: 0 / 0.7279 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2955/0.9319, allocations: 25.25 MB / 0.7526 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.53, allocations: 11.75 kB / 0.7526 GB, free: 186.1 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_4_0_0-dev_ThermoPower_Test_GasComponents_TestGasTurbine_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ThermoPower_4_0_0-dev_ThermoPower_Test_GasComponents_TestGasTurbine.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.258900469052605] Failed to read output from testmodel.py, exit status != 0: 14.71304397995118 14.727422899 14.126009586 Calling exit ...