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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 116 kB / 17.74 MB, free: 5.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 186.9 kB / 20.68 MB, free: 2.402 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.452/1.452, allocations: 205.1 MB / 228.6 MB, free: 4.406 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4024/0.4024, allocations: 48.83 MB / 326.8 MB, free: 3.918 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 68.47 kB / 459.2 MB, free: 46.96 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09798/0.1002, allocations: 59.17 MB / 0.5062 GB, free: 16.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.4712/0.5714, allocations: 170.6 MB / 0.6729 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005372/0.5768, allocations: 3.904 MB / 0.6767 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000725/0.5776, allocations: 9.469 kB / 0.6767 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009499/0.5786, allocations: 275.7 kB / 0.6769 GB, free: 12.04 MB / 0.4981 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.001075/0.5797, allocations: 0.5669 MB / 0.6775 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0044/0.5841, allocations: 1.638 MB / 0.6791 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001571/0.5857, allocations: 1.314 MB / 0.6804 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005333/0.5862, allocations: 407.1 kB / 0.6808 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006923/0.5869, allocations: 0.519 MB / 0.6813 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005943/0.5875, allocations: 0.5106 MB / 0.6818 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.238e-05/0.5876, allocations: 57.62 kB / 0.6818 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002654/0.5903, allocations: 1.435 MB / 0.6832 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003655/0.5907, allocations: 474.5 kB / 0.6837 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004578/0.5911, allocations: 0.5366 MB / 0.6842 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002334/0.5935, allocations: 1.922 MB / 0.6861 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5935, allocations: 0 / 0.6861 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5935, allocations: 2.125 kB / 0.6861 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.5935, allocations: 0 / 0.6861 GB, free: 9.992 MB / 0.4981 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.00215/0.5957, allocations: 1.575 MB / 0.6876 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.5957, allocations: 13.61 kB / 0.6876 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007286/0.5965, allocations: 188.1 kB / 0.6878 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.5976, allocations: 0.8691 MB / 0.6887 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.5976, allocations: 34.66 kB / 0.6887 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.5e-05/0.5977, allocations: 50.69 kB / 0.6887 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008719/0.5985, allocations: 0.6125 MB / 0.6893 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.5986, allocations: 0 / 0.6893 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.074e-05/0.5986, allocations: 33.33 kB / 0.6894 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.5987, allocations: 14.09 kB / 0.6894 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006095/0.5993, allocations: 474.2 kB / 0.6898 GB, free: 8.074 MB / 0.4981 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.00382/0.6031, allocations: 2.578 MB / 0.6924 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.6033, allocations: 139.6 kB / 0.6925 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.655e-05/0.6034, allocations: 52.91 kB / 0.6925 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002566/0.6037, allocations: 124.8 kB / 0.6927 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.6037, allocations: 44.38 kB / 0.6927 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.6037, allocations: 0 / 0.6927 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0004802/0.6042, allocations: 276.1 kB / 0.693 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.6043, allocations: 58.53 kB / 0.693 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/0.6061, allocations: 1.913 MB / 0.6949 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.6061, allocations: 28.27 kB / 0.6949 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004089/0.6065, allocations: 0.589 MB / 0.6955 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.6066, allocations: 49.98 kB / 0.6955 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.6067, allocations: 78.17 kB / 0.6956 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.6068, allocations: 319.6 kB / 0.6959 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.607, allocations: 124.3 kB / 0.696 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.6073, allocations: 243.8 kB / 0.6963 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/0.6077, allocations: 345.3 kB / 0.6966 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6077, allocations: 2.938 kB / 0.6966 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006981/0.6084, allocations: 0.5012 MB / 0.6971 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.6084, allocations: 7.344 kB / 0.6971 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.6084, allocations: 6.719 kB / 0.6971 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.6084, allocations: 6.875 kB / 0.6971 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/0.6089, allocations: 109.2 kB / 0.6972 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007545/0.6097, allocations: 1.195 MB / 0.6984 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004359/0.6101, allocations: 77.38 kB / 0.6985 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.6102, allocations: 22.78 kB / 0.6985 GB, free: 3.188 MB / 0.4981 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.0004295/0.6106, allocations: 382 kB / 0.6988 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.6108, allocations: 129.2 kB / 0.699 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004171/0.6112, allocations: 272.1 kB / 0.6992 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.6112, allocations: 0 / 0.6992 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6112, allocations: 2.188 kB / 0.6992 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.6112, allocations: 3.984 kB / 0.6992 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008202/0.6121, allocations: 0.6735 MB / 0.6999 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6121, allocations: 4 kB / 0.6999 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/0.6123, allocations: 44.81 kB / 0.6999 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.6123, allocations: 2.75 kB / 0.6999 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.6124, allocations: 4 kB / 0.6999 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007438/0.6131, allocations: 1.188 MB / 0.7011 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6131, allocations: 0 / 0.7011 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005089/0.6136, allocations: 426.7 kB / 0.7015 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.614, allocations: 238.6 kB / 0.7017 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.6141, allocations: 4 kB / 0.7017 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003967/0.6145, allocations: 18.33 kB / 0.7018 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.6145, allocations: 12.3 kB / 0.7018 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.445e-05/0.6146, allocations: 15.88 kB / 0.7018 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001556/0.6161, allocations: 1.356 MB / 0.7031 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6161, allocations: 0 / 0.7031 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000722/0.6169, allocations: 243.9 kB / 0.7033 GB, free: 15.83 MB / 0.5137 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.001722/0.6186, allocations: 0.5332 MB / 0.7039 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005274/0.6191, allocations: 244.9 kB / 0.7041 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6191, allocations: 2.781 kB / 0.7041 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.6193, allocations: 72.94 kB / 0.7042 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.6209, allocations: 370.1 kB / 0.7045 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/0.6236, allocations: 1.984 MB / 0.7065 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008137/0.6244, allocations: 1.102 MB / 0.7075 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005325/0.625, allocations: 220.5 kB / 0.7078 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.6251, allocations: 79.42 kB / 0.7078 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.6251, allocations: 0 / 0.7078 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.03171/0.6569, allocations: 17.81 MB / 0.7252 GB, free: 10.79 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile [Timeout 660] (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 & ./ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.937728217802942]