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.001348/0.001348, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001442/0.001442, allocations: 169.7 kB / 24.5 MB, free: 3.453 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.301/1.301, allocations: 158.6 MB / 186.3 MB, free: 6.219 MB / 174.1 MB " [Timeout remaining time 179] 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.2819/0.2819, allocations: 36.35 MB / 274.9 MB, free: 14.65 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.002468/0.002468, allocations: 75.91 kB / 415.2 MB, free: 14.11 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3192, allocations: 62.38 MB / 477.6 MB, free: 43.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.1652/0.4845, allocations: 147.5 MB / 0.6105 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00579/0.4903, allocations: 3.599 MB / 0.614 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003628/0.4906, allocations: 7.938 kB / 0.614 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000889/0.4915, allocations: 262.3 kB / 0.6143 GB, free: 5.027 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.001161/0.4927, allocations: 0.5756 MB / 0.6148 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004215/0.4969, allocations: 1.67 MB / 0.6164 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001682/0.4986, allocations: 1.341 MB / 0.6178 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005363/0.4991, allocations: 353.8 kB / 0.6181 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007708/0.4999, allocations: 0.5333 MB / 0.6186 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007486/0.5006, allocations: 0.5333 MB / 0.6191 GB, free: 40 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.5008, allocations: 56.05 kB / 0.6192 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002561/0.5033, allocations: 1.231 MB / 0.6204 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004692/0.5038, allocations: 478.7 kB / 0.6208 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005139/0.5043, allocations: 437.6 kB / 0.6213 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002491/0.5068, allocations: 1.908 MB / 0.6231 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.5068, allocations: 0 / 0.6231 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5068, allocations: 0 / 0.6231 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.5068, allocations: 4 kB / 0.6231 GB, free: 11.93 MB / 0.5294 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.002452/0.5093, allocations: 1.503 MB / 0.6246 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.5093, allocations: 8.031 kB / 0.6246 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007794/0.5101, allocations: 183.1 kB / 0.6248 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.5114, allocations: 0.794 MB / 0.6256 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.298e-05/0.5114, allocations: 41.31 kB / 0.6256 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.601e-05/0.5115, allocations: 48 kB / 0.6256 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.5128, allocations: 1.049 MB / 0.6267 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.5128, allocations: 0 / 0.6267 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.471e-05/0.5129, allocations: 27.94 kB / 0.6267 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.5129, allocations: 15.94 kB / 0.6267 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00077/0.5137, allocations: 469 kB / 0.6272 GB, free: 7.617 MB / 0.5294 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.003985/0.5177, allocations: 1.838 MB / 0.629 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.5179, allocations: 126.6 kB / 0.6291 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.405e-05/0.518, allocations: 44.84 kB / 0.6291 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000236/0.5183, allocations: 51.95 kB / 0.6292 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.5183, allocations: 42.5 kB / 0.6292 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.5183, allocations: 0 / 0.6292 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0005572/0.5189, allocations: 265 kB / 0.6295 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.5189, allocations: 51.41 kB / 0.6295 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/0.521, allocations: 1.68 MB / 0.6311 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.5211, allocations: 29.7 kB / 0.6312 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005622/0.5216, allocations: 0.6055 MB / 0.6318 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/0.5217, allocations: 51.58 kB / 0.6318 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.5218, allocations: 81.59 kB / 0.6319 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.522, allocations: 325.9 kB / 0.6322 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.5222, allocations: 122.2 kB / 0.6323 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.5225, allocations: 251.1 kB / 0.6326 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005042/0.523, allocations: 346.3 kB / 0.6329 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.523, allocations: 0 / 0.6329 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007961/0.5238, allocations: 488.9 kB / 0.6334 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.5238, allocations: 8 kB / 0.6334 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5239, allocations: 4 kB / 0.6334 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.5239, allocations: 8 kB / 0.6334 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.5244, allocations: 107.8 kB / 0.6335 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008332/0.5252, allocations: 1.195 MB / 0.6346 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.5256, allocations: 47.67 kB / 0.6347 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.5257, allocations: 24 kB / 0.6347 GB, free: 15.58 MB / 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.000509/0.5262, allocations: 390.6 kB / 0.6351 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.5263, allocations: 107.3 kB / 0.6352 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000456/0.5268, allocations: 249 kB / 0.6354 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.5268, allocations: 4 kB / 0.6354 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.5268, allocations: 0 / 0.6354 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5268, allocations: 0 / 0.6354 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007496/0.5276, allocations: 0.5266 MB / 0.6359 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5276, allocations: 4 kB / 0.6359 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/0.5278, allocations: 47.97 kB / 0.636 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.5278, allocations: 0 / 0.636 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.5279, allocations: 0 / 0.636 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007659/0.5286, allocations: 1.191 MB / 0.6372 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5286, allocations: 0 / 0.6372 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005209/0.5291, allocations: 399.7 kB / 0.6375 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/0.5294, allocations: 139.2 kB / 0.6377 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.198e-05/0.5295, allocations: 4 kB / 0.6377 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/0.5299, allocations: 22.23 kB / 0.6377 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.5299, allocations: 7.984 kB / 0.6377 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/0.5299, allocations: 19.97 kB / 0.6377 GB, free: 12.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00156/0.5315, allocations: 1.185 MB / 0.6389 GB, free: 11.21 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5315, allocations: 0 / 0.6389 GB, free: 11.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007964/0.5323, allocations: 255.3 kB / 0.6391 GB, free: 10.96 MB / 0.545 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.001947/0.5342, allocations: 0.5595 MB / 0.6397 GB, free: 10.44 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006261/0.5349, allocations: 235.5 kB / 0.6399 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.5349, allocations: 4 kB / 0.6399 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.5351, allocations: 65.03 kB / 0.64 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009909/0.5361, allocations: 191.7 kB / 0.6401 GB, free: 9.961 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/0.539, allocations: 1.944 MB / 0.642 GB, free: 7.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006517/0.5397, allocations: 0.5125 MB / 0.6425 GB, free: 7.438 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004742/0.5402, allocations: 190.5 kB / 0.6427 GB, free: 7.246 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.5403, allocations: 64.48 kB / 0.6428 GB, free: 7.18 MB / 0.545 GB Notification: Performance of SimCode: time 8.11e-07/0.5403, allocations: 0 / 0.6428 GB, free: 7.18 MB / 0.545 GB Notification: Performance of Templates: time 0.02556/0.5659, allocations: 13.48 MB / 0.6559 GB, free: 9.684 MB / 0.5606 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 -s ida -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.471646195976064] Failed to read output from testmodel.py, exit status != 0: 0.5750047139590606 0.589614268 0.079519608 Calling exit ...