Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001328/0.001328, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001423/0.001423, allocations: 212.1 kB / 23.74 MB, free: 4.656 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.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.1652/0.1652, allocations: 26.82 MB / 340.7 MB, free: 8.188 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: translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") [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.002214/0.002214, allocations: 71.88 kB / 477.3 MB, free: 3.176 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3428, allocations: 60.47 MB / 0.5252 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.2164/0.5592, allocations: 170.2 MB / 0.6914 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005537/0.5647, allocations: 3.782 MB / 0.695 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003741/0.5651, allocations: 7.938 kB / 0.6951 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008416/0.5659, allocations: 286.2 kB / 0.6953 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.5671, allocations: 0.63 MB / 0.6959 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003832/0.5709, allocations: 1.63 MB / 0.6975 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001712/0.5726, allocations: 1.372 MB / 0.6989 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005256/0.5732, allocations: 380.8 kB / 0.6992 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007446/0.5739, allocations: 0.5528 MB / 0.6998 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007405/0.5746, allocations: 0.5646 MB / 0.7003 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.5747, allocations: 63.94 kB / 0.7004 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002638/0.5774, allocations: 1.399 MB / 0.7018 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004505/0.5778, allocations: 470.7 kB / 0.7022 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005465/0.5784, allocations: 0.5476 MB / 0.7027 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002443/0.5808, allocations: 1.91 MB / 0.7046 GB, free: 12.68 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5808, allocations: 4 kB / 0.7046 GB, free: 12.68 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5808, allocations: 0 / 0.7046 GB, free: 12.68 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.5808, allocations: 4 kB / 0.7046 GB, free: 12.67 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002477/0.5833, allocations: 1.519 MB / 0.7061 GB, free: 11.12 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.5834, allocations: 8.031 kB / 0.7061 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007629/0.5841, allocations: 199 kB / 0.7063 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.5855, allocations: 0.814 MB / 0.7071 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.5855, allocations: 37.31 kB / 0.7071 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.993e-05/0.5856, allocations: 52 kB / 0.7072 GB, free: 9.973 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.5866, allocations: 0.6227 MB / 0.7078 GB, free: 9.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.5866, allocations: 3.984 kB / 0.7078 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.398e-05/0.5867, allocations: 28 kB / 0.7078 GB, free: 9.309 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.5867, allocations: 12 kB / 0.7078 GB, free: 9.297 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007488/0.5875, allocations: 473 kB / 0.7083 GB, free: 8.832 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.004211/0.5917, allocations: 2.276 MB / 0.7105 GB, free: 6.461 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.5919, allocations: 130.6 kB / 0.7106 GB, free: 6.324 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.869e-05/0.592, allocations: 52.77 kB / 0.7107 GB, free: 6.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002388/0.5923, allocations: 51.92 kB / 0.7107 GB, free: 6.219 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.5923, allocations: 38.56 kB / 0.7108 GB, free: 6.172 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.5923, allocations: 4 kB / 0.7108 GB, free: 6.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005585/0.5929, allocations: 296.1 kB / 0.711 GB, free: 5.875 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.5929, allocations: 51.41 kB / 0.7111 GB, free: 5.812 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002442/0.5953, allocations: 1.935 MB / 0.713 GB, free: 3.859 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.5954, allocations: 29.7 kB / 0.713 GB, free: 3.824 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005807/0.596, allocations: 0.5992 MB / 0.7136 GB, free: 3.219 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.596, allocations: 51.62 kB / 0.7136 GB, free: 3.168 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.5962, allocations: 81.59 kB / 0.7137 GB, free: 3.082 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.5963, allocations: 326 kB / 0.714 GB, free: 2.758 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.5965, allocations: 130 kB / 0.7142 GB, free: 2.629 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.5968, allocations: 255.1 kB / 0.7144 GB, free: 2.316 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/0.5973, allocations: 333.7 kB / 0.7147 GB, free: 1.926 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5973, allocations: 0 / 0.7147 GB, free: 1.926 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008359/0.5981, allocations: 0.4964 MB / 0.7152 GB, free: 1.422 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.5982, allocations: 11.94 kB / 0.7152 GB, free: 1.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.5982, allocations: 8 kB / 0.7152 GB, free: 1.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.5982, allocations: 8.562 kB / 0.7152 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005193/0.5987, allocations: 103.9 kB / 0.7153 GB, free: 1.293 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009129/0.5996, allocations: 1.199 MB / 0.7165 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004932/0.6001, allocations: 79.58 kB / 0.7166 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/0.6002, allocations: 16 kB / 0.7166 GB, free: 15.95 MB / 0.5606 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.0005516/0.6007, allocations: 381.8 kB / 0.717 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.6009, allocations: 127.2 kB / 0.7171 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005095/0.6014, allocations: 277 kB / 0.7173 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.6014, allocations: 0 / 0.7173 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6014, allocations: 3.75 kB / 0.7173 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6014, allocations: 0 / 0.7173 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008974/0.6023, allocations: 0.6557 MB / 0.718 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.6023, allocations: 4 kB / 0.718 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.6026, allocations: 55.94 kB / 0.718 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.6026, allocations: 0 / 0.718 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.6026, allocations: 8 kB / 0.7181 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000797/0.6034, allocations: 1.195 MB / 0.7192 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.6034, allocations: 0 / 0.7192 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005651/0.604, allocations: 413 kB / 0.7196 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004035/0.6044, allocations: 167.2 kB / 0.7198 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.6045, allocations: 0 / 0.7198 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004152/0.6049, allocations: 19.97 kB / 0.7198 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.6049, allocations: 8.078 kB / 0.7198 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.605, allocations: 20.11 kB / 0.7198 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00187/0.6068, allocations: 1.382 MB / 0.7212 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.6068, allocations: 0 / 0.7212 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008499/0.6077, allocations: 251.5 kB / 0.7214 GB, free: 10.89 MB / 0.5606 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.001916/0.6096, allocations: 0.5291 MB / 0.7219 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006151/0.6102, allocations: 231 kB / 0.7221 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6102, allocations: 4.062 kB / 0.7221 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.6104, allocations: 71.89 kB / 0.7222 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.612, allocations: 362.6 kB / 0.7226 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.6151, allocations: 2.014 MB / 0.7245 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008615/0.616, allocations: 1.116 MB / 0.7256 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005568/0.6165, allocations: 220.3 kB / 0.7258 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.6167, allocations: 75.42 kB / 0.7259 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.6167, allocations: 0 / 0.7259 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of Templates: time 0.248/0.8647, allocations: 18.06 MB / 0.7435 GB, free: 190.5 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.826586557552218] Failed to read output from testmodel.py, exit status != 0: 0.8733914960175753 0.8831420799999999 0.299982189 Calling exit ...