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.001379/0.001379, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001573/0.001573, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.425/1.425, allocations: 207.6 MB / 235.3 MB, free: 9.98 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.3199/0.3199, allocations: 49.57 MB / 337.1 MB, free: 4.102 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: 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.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.002553/0.002553, allocations: 71.89 kB / 477.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1338, allocations: 62.42 MB / 0.5273 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.4994/0.6332, allocations: 171.3 MB / 0.6947 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006743/0.6399, allocations: 3.939 MB / 0.6985 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000678/0.6406, allocations: 11.94 kB / 0.6985 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.6417, allocations: 286.2 kB / 0.6988 GB, free: 6.223 MB / 0.5294 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.001407/0.6431, allocations: 0.5733 MB / 0.6994 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004798/0.6479, allocations: 1.675 MB / 0.701 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002319/0.6502, allocations: 1.341 MB / 0.7023 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006487/0.6508, allocations: 365.7 kB / 0.7026 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009413/0.6518, allocations: 0.5373 MB / 0.7032 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008094/0.6526, allocations: 0.5606 MB / 0.7037 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.6527, allocations: 56 kB / 0.7038 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003621/0.6563, allocations: 1.508 MB / 0.7052 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005125/0.6568, allocations: 474.8 kB / 0.7057 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00064/0.6575, allocations: 0.536 MB / 0.7062 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003409/0.6609, allocations: 1.931 MB / 0.7081 GB, free: 12.66 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.6609, allocations: 0 / 0.7081 GB, free: 12.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6609, allocations: 0 / 0.7081 GB, free: 12.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.6609, allocations: 3.938 kB / 0.7081 GB, free: 12.66 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.002709/0.6636, allocations: 1.499 MB / 0.7096 GB, free: 11.12 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.6637, allocations: 12.03 kB / 0.7096 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008171/0.6645, allocations: 191 kB / 0.7098 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.666, allocations: 0.7901 MB / 0.7105 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.666, allocations: 37.31 kB / 0.7106 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-05/0.6661, allocations: 56 kB / 0.7106 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.6672, allocations: 0.6158 MB / 0.7112 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.6672, allocations: 0 / 0.7112 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.721e-05/0.6673, allocations: 27.94 kB / 0.7113 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.6673, allocations: 12 kB / 0.7113 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007954/0.6681, allocations: 473 kB / 0.7117 GB, free: 8.867 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.004635/0.6727, allocations: 2.291 MB / 0.714 GB, free: 6.477 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.673, allocations: 126.6 kB / 0.7141 GB, free: 6.344 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.103e-05/0.6731, allocations: 44.84 kB / 0.7141 GB, free: 6.297 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002437/0.6734, allocations: 47.95 kB / 0.7142 GB, free: 6.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.6734, allocations: 46.5 kB / 0.7142 GB, free: 6.195 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.883e-06/0.6734, allocations: 0 / 0.7142 GB, free: 6.195 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0006361/0.674, allocations: 280.9 kB / 0.7145 GB, free: 5.914 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.6741, allocations: 55.39 kB / 0.7145 GB, free: 5.848 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002559/0.6767, allocations: 1.903 MB / 0.7164 GB, free: 3.926 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.6767, allocations: 29.7 kB / 0.7164 GB, free: 3.891 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000581/0.6773, allocations: 0.5912 MB / 0.717 GB, free: 3.297 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.991e-05/0.6773, allocations: 47.64 kB / 0.717 GB, free: 3.25 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.6775, allocations: 85.64 kB / 0.7171 GB, free: 3.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.6776, allocations: 318 kB / 0.7174 GB, free: 2.844 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.6779, allocations: 126.7 kB / 0.7175 GB, free: 2.715 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.6782, allocations: 255.1 kB / 0.7178 GB, free: 2.402 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004625/0.6787, allocations: 341.6 kB / 0.7181 GB, free: 2.004 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.6787, allocations: 4 kB / 0.7181 GB, free: 2 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008554/0.6795, allocations: 0.4931 MB / 0.7186 GB, free: 1.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.6795, allocations: 8.562 kB / 0.7186 GB, free: 1.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.6796, allocations: 8 kB / 0.7186 GB, free: 1.484 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.6796, allocations: 4 kB / 0.7186 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005496/0.6801, allocations: 114.3 kB / 0.7187 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008362/0.681, allocations: 1.188 MB / 0.7199 GB, free: 140 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004764/0.6814, allocations: 83.56 kB / 0.72 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.062e-05/0.6815, allocations: 23.94 kB / 0.72 GB, free: 32 kB / 0.545 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.0005841/0.6821, allocations: 373.6 kB / 0.7203 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.6823, allocations: 127.1 kB / 0.7205 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004674/0.6827, allocations: 285.2 kB / 0.7207 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6827, allocations: 0 / 0.7207 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6827, allocations: 7.984 kB / 0.7207 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.6827, allocations: 4 kB / 0.7208 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008885/0.6836, allocations: 0.6435 MB / 0.7214 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.6836, allocations: 4 kB / 0.7214 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.6839, allocations: 46.09 kB / 0.7214 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.6839, allocations: 0 / 0.7214 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.6839, allocations: 7.984 kB / 0.7214 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007658/0.6847, allocations: 1.189 MB / 0.7226 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.6847, allocations: 0 / 0.7226 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005464/0.6852, allocations: 421 kB / 0.723 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003827/0.6856, allocations: 159.2 kB / 0.7231 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.6857, allocations: 0 / 0.7231 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004017/0.6861, allocations: 24.14 kB / 0.7232 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.6862, allocations: 3.984 kB / 0.7232 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/0.6862, allocations: 27.91 kB / 0.7232 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001845/0.6881, allocations: 1.354 MB / 0.7245 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.6881, allocations: 0 / 0.7245 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009006/0.689, allocations: 235.6 kB / 0.7247 GB, free: 11.03 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.002024/0.691, allocations: 0.5473 MB / 0.7253 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006801/0.6917, allocations: 227.6 kB / 0.7255 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.6917, allocations: 5.125 kB / 0.7255 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.6918, allocations: 63.91 kB / 0.7256 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.001558/0.6934, allocations: 372 kB / 0.7259 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/0.6969, allocations: 2.016 MB / 0.7279 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009443/0.6978, allocations: 1.094 MB / 0.729 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.698, allocations: 83.41 kB / 0.729 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of SimCode: time 1.162e-06/0.6981, allocations: 0 / 0.729 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of Templates: time 0.03962/0.7377, allocations: 23.89 MB / 0.7524 GB, free: 14.63 MB / 0.5919 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: 10.943327937973663] Failed to read output from testmodel.py, exit status != 0: 0.7485189288854599 0.764674657 0.10017621500000001 Calling exit ...