Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.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.001722/0.001722, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002156/0.002156, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.43/1.43, allocations: 207.7 MB / 235.4 MB, free: 9.766 MB / 190.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.4183/0.4183, allocations: 49.61 MB / 337.2 MB, free: 3.863 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.TestCompressorConstSpeed,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed",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.002162/0.002162, allocations: 68.45 kB / 477.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1285, allocations: 62.42 MB / 0.5269 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.435/0.5635, allocations: 147.4 MB / 0.6708 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005948/0.5695, allocations: 3.596 MB / 0.6743 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000436/0.5699, allocations: 11.94 kB / 0.6743 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009123/0.5708, allocations: 262.3 kB / 0.6746 GB, free: 14.09 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.001216/0.572, allocations: 0.5795 MB / 0.6752 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004324/0.5764, allocations: 1.666 MB / 0.6768 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001849/0.5782, allocations: 1.333 MB / 0.6781 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006231/0.5788, allocations: 377.7 kB / 0.6785 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008075/0.5796, allocations: 0.5295 MB / 0.679 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008045/0.5804, allocations: 0.5684 MB / 0.6795 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.5806, allocations: 56 kB / 0.6796 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002883/0.5834, allocations: 1.255 MB / 0.6808 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005578/0.584, allocations: 478.7 kB / 0.6813 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006259/0.5846, allocations: 445.6 kB / 0.6817 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003307/0.5879, allocations: 1.937 MB / 0.6836 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.5879, allocations: 0 / 0.6836 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5879, allocations: 0 / 0.6836 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.762e-05/0.588, allocations: 0 / 0.6836 GB, free: 4.863 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002685/0.5906, allocations: 1.526 MB / 0.6851 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.5907, allocations: 12.03 kB / 0.6851 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.75e-05/0.5907, allocations: 21.25 kB / 0.6851 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001281/0.5909, allocations: 98.5 kB / 0.6852 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008732/0.5917, allocations: 187.1 kB / 0.6854 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.5931, allocations: 0.8099 MB / 0.6862 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/0.5932, allocations: 37.31 kB / 0.6862 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-05/0.5933, allocations: 48 kB / 0.6862 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.5947, allocations: 1.043 MB / 0.6873 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.5947, allocations: 3.938 kB / 0.6873 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-05/0.5948, allocations: 28.88 kB / 0.6873 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.5948, allocations: 12 kB / 0.6873 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007934/0.5956, allocations: 469 kB / 0.6878 GB, free: 392 kB / 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.004791/0.6004, allocations: 1.993 MB / 0.6897 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.6006, allocations: 122.6 kB / 0.6898 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.548e-05/0.6007, allocations: 48.84 kB / 0.6899 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/0.601, allocations: 51.89 kB / 0.6899 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.601, allocations: 36.69 kB / 0.6899 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.764e-06/0.601, allocations: 3.938 kB / 0.69 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0006469/0.6017, allocations: 292.8 kB / 0.6902 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.6017, allocations: 59.34 kB / 0.6903 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/0.6044, allocations: 1.927 MB / 0.6922 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.399e-05/0.6044, allocations: 37.7 kB / 0.6922 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000567/0.605, allocations: 0.5913 MB / 0.6928 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.207e-05/0.6051, allocations: 55.56 kB / 0.6928 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.6052, allocations: 81.64 kB / 0.6929 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.6053, allocations: 318 kB / 0.6932 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.6056, allocations: 134 kB / 0.6933 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/0.6059, allocations: 247.2 kB / 0.6936 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004832/0.6064, allocations: 337.6 kB / 0.6939 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.6064, allocations: 0 / 0.6939 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009757/0.6074, allocations: 0.5046 MB / 0.6944 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.6074, allocations: 8 kB / 0.6944 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.6074, allocations: 5.562 kB / 0.6944 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.757e-05/0.6074, allocations: 11.94 kB / 0.6944 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00058/0.608, allocations: 103.9 kB / 0.6945 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008374/0.6088, allocations: 1.195 MB / 0.6957 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/0.6094, allocations: 76.02 kB / 0.6958 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-05/0.6095, allocations: 23.98 kB / 0.6958 GB, free: 7.836 MB / 0.5294 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000629/0.6101, allocations: 385.8 kB / 0.6962 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.6104, allocations: 123.2 kB / 0.6963 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005239/0.6109, allocations: 270 kB / 0.6965 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.6109, allocations: 7.984 kB / 0.6965 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6109, allocations: 0 / 0.6965 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.6109, allocations: 3.938 kB / 0.6965 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009251/0.6118, allocations: 0.5738 MB / 0.6971 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.6118, allocations: 0 / 0.6971 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002922/0.6121, allocations: 51.59 kB / 0.6971 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.6121, allocations: 0 / 0.6971 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.6121, allocations: 4 kB / 0.6971 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008416/0.613, allocations: 1.188 MB / 0.6983 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.613, allocations: 0 / 0.6983 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006426/0.6136, allocations: 421 kB / 0.6987 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003879/0.614, allocations: 171.1 kB / 0.6989 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.6141, allocations: 8 kB / 0.6989 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004759/0.6146, allocations: 20.23 kB / 0.6989 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.6146, allocations: 7.984 kB / 0.6989 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.613e-05/0.6147, allocations: 15.97 kB / 0.6989 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001949/0.6166, allocations: 1.374 MB / 0.7003 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.6166, allocations: 0 / 0.7003 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008867/0.6175, allocations: 239.6 kB / 0.7005 GB, free: 2.879 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002922/0.6205, allocations: 1.427 MB / 0.7019 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000683/0.6211, allocations: 227.6 kB / 0.7021 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.6211, allocations: 4 kB / 0.7021 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.6213, allocations: 61.09 kB / 0.7022 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.6231, allocations: 368.4 kB / 0.7025 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/0.6393, allocations: 10.74 MB / 0.713 GB, free: 5.801 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006212/0.64, allocations: 0.5095 MB / 0.7135 GB, free: 5.258 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006977/0.6407, allocations: 220.8 kB / 0.7137 GB, free: 5.039 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005749/0.6412, allocations: 411.3 kB / 0.7141 GB, free: 4.637 MB / 0.545 GB Notification: Performance of SimCode: time 1.693e-06/0.6412, allocations: 0 / 0.7141 GB, free: 4.637 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07172/0.713, allocations: 31.31 MB / 0.7447 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.15/15.86, allocations: 19.75 kB / 0.7447 GB, free: 5.105 MB / 0.5762 GB " [Timeout remaining time 644] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.008239094982855] Failed to read output from testmodel.py, exit status != 0: 16.115520894993097 16.15041546 15.556131255 Calling exit ...