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.001482/0.001482, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.00167/0.00167, allocations: 209.6 kB / 23.73 MB, free: 4.41 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.624/1.624, allocations: 207.7 MB / 234.6 MB, free: 9.812 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.3375/0.3375, allocations: 49.6 MB / 336.4 MB, free: 3.891 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed",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.002733/0.002733, allocations: 67.91 kB / 476.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1416, allocations: 62.42 MB / 0.5261 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.5309/0.6724, allocations: 147.5 MB / 0.6702 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007184/0.6796, allocations: 3.612 MB / 0.6737 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00074/0.6804, allocations: 11.94 kB / 0.6737 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.6817, allocations: 262.3 kB / 0.6739 GB, free: 13.88 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.001836/0.6835, allocations: 0.5834 MB / 0.6745 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005374/0.6889, allocations: 1.655 MB / 0.6761 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002944/0.6918, allocations: 1.337 MB / 0.6774 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.693, allocations: 361.7 kB / 0.6778 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001848/0.6948, allocations: 0.5334 MB / 0.6783 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.6964, allocations: 0.5411 MB / 0.6788 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002454/0.6966, allocations: 56 kB / 0.6789 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00395/0.7006, allocations: 1.232 MB / 0.6801 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008813/0.7014, allocations: 470.7 kB / 0.6805 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001187/0.7026, allocations: 449.5 kB / 0.681 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005051/0.7077, allocations: 1.922 MB / 0.6828 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.7077, allocations: 4 kB / 0.6828 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7077, allocations: 0 / 0.6828 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.294e-05/0.7077, allocations: 0 / 0.6828 GB, free: 4.738 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.004499/0.7122, allocations: 1.519 MB / 0.6843 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.844e-05/0.7123, allocations: 12.03 kB / 0.6843 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002231/0.7125, allocations: 102.5 kB / 0.6844 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.7136, allocations: 191.1 kB / 0.6846 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/0.7155, allocations: 0.8021 MB / 0.6854 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.322e-05/0.7156, allocations: 42.12 kB / 0.6854 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.491e-05/0.7157, allocations: 48 kB / 0.6855 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.7172, allocations: 1.043 MB / 0.6865 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.7172, allocations: 4 kB / 0.6865 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/0.7173, allocations: 27.88 kB / 0.6865 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.7173, allocations: 12 kB / 0.6865 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007709/0.7181, allocations: 473 kB / 0.687 GB, free: 280 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.005056/0.7231, allocations: 1.989 MB / 0.6889 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.7234, allocations: 129.2 kB / 0.6891 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.883e-05/0.7235, allocations: 48.84 kB / 0.6891 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002466/0.7238, allocations: 47.95 kB / 0.6892 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.7238, allocations: 38.56 kB / 0.6892 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 2.244e-06/0.7238, allocations: 0 / 0.6892 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0007094/0.7246, allocations: 296.7 kB / 0.6895 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.7246, allocations: 55.41 kB / 0.6895 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002777/0.7274, allocations: 1.935 MB / 0.6914 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/0.7274, allocations: 29.7 kB / 0.6914 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006407/0.7281, allocations: 0.5914 MB / 0.692 GB, free: 11 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/0.7281, allocations: 55.56 kB / 0.6921 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.7283, allocations: 89.59 kB / 0.6922 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.7285, allocations: 318 kB / 0.6925 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.7288, allocations: 122.2 kB / 0.6926 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004181/0.7292, allocations: 259.1 kB / 0.6928 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005642/0.7298, allocations: 329.7 kB / 0.6931 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.7298, allocations: 0 / 0.6931 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00091/0.7307, allocations: 0.5003 MB / 0.6936 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.7307, allocations: 7.938 kB / 0.6936 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.7307, allocations: 8.562 kB / 0.6937 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.503e-05/0.7307, allocations: 11.94 kB / 0.6937 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005856/0.7313, allocations: 107.9 kB / 0.6938 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.7326, allocations: 1.197 MB / 0.6949 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005953/0.7332, allocations: 75.39 kB / 0.695 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/0.7333, allocations: 24.94 kB / 0.695 GB, free: 7.73 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.0007487/0.7341, allocations: 377.5 kB / 0.6954 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.7343, allocations: 131.4 kB / 0.6955 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000596/0.7349, allocations: 280.7 kB / 0.6958 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.7349, allocations: 4 kB / 0.6958 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.7349, allocations: 0 / 0.6958 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.7349, allocations: 3.938 kB / 0.6958 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.7359, allocations: 0.5654 MB / 0.6963 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.7359, allocations: 0 / 0.6963 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.7362, allocations: 51.97 kB / 0.6964 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.7362, allocations: 0 / 0.6964 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.7362, allocations: 3.984 kB / 0.6964 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008567/0.7371, allocations: 1.188 MB / 0.6976 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.7371, allocations: 8.016 kB / 0.6976 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006857/0.7378, allocations: 409.1 kB / 0.698 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004334/0.7382, allocations: 171.2 kB / 0.6981 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.7383, allocations: 7.938 kB / 0.6981 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.7387, allocations: 15.98 kB / 0.6981 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.7388, allocations: 11.98 kB / 0.6982 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/0.7388, allocations: 16.22 kB / 0.6982 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002252/0.7411, allocations: 1.37 MB / 0.6995 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.7411, allocations: 0 / 0.6995 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009867/0.7421, allocations: 247.5 kB / 0.6997 GB, free: 2.773 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.003121/0.7452, allocations: 1.414 MB / 0.7011 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006798/0.7459, allocations: 227.8 kB / 0.7013 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.7459, allocations: 0 / 0.7013 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.7461, allocations: 67.91 kB / 0.7014 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/0.7477, allocations: 365.4 kB / 0.7018 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/0.765, allocations: 10.71 MB / 0.7122 GB, free: 5.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007495/0.7657, allocations: 0.5017 MB / 0.7127 GB, free: 5.199 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008108/0.7665, allocations: 232.4 kB / 0.7129 GB, free: 4.969 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006466/0.7672, allocations: 403.2 kB / 0.7133 GB, free: 4.574 MB / 0.545 GB Notification: Performance of SimCode: time 2.234e-06/0.7672, allocations: 0 / 0.7133 GB, free: 4.574 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08988/0.8571, allocations: 31.58 MB / 0.7441 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/15.27, allocations: 7.953 kB / 0.7442 GB, free: 4.789 MB / 0.5762 GB " [Timeout remaining time 645] (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: 18.562701829709113] Failed to read output from testmodel.py, exit status != 0: 15.46007011597976 15.476801273 14.765509992 Calling exit ...