Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.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.001344/0.001344, allocations: 108.3 kB / 20.43 MB, free: 1.473 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.001554/0.001554, allocations: 182.6 kB / 23.71 MB, free: 4.711 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.523/1.523, allocations: 207.6 MB / 234.5 MB, free: 10.03 MB / 190.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.3024/0.3024, allocations: 49.58 MB / 336.3 MB, free: 4.137 MB / 270.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.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") [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.002288/0.002288, allocations: 71.89 kB / 476.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1192, allocations: 62.41 MB / 0.5266 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.4291/0.5483, allocations: 171.3 MB / 0.6939 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006009/0.5543, allocations: 3.947 MB / 0.6977 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005059/0.5548, allocations: 7.938 kB / 0.6977 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008793/0.5557, allocations: 274.3 kB / 0.698 GB, free: 6.234 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.001472/0.5572, allocations: 0.5872 MB / 0.6986 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004381/0.5616, allocations: 1.68 MB / 0.7002 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001739/0.5633, allocations: 1.356 MB / 0.7015 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005271/0.5638, allocations: 361.8 kB / 0.7019 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000758/0.5646, allocations: 0.5372 MB / 0.7024 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007334/0.5653, allocations: 0.5723 MB / 0.703 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.796e-05/0.5654, allocations: 60 kB / 0.703 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.5669, allocations: 0.725 MB / 0.7037 GB, free: 356 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004718/0.5674, allocations: 482.6 kB / 0.7042 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005593/0.568, allocations: 0.536 MB / 0.7047 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002069/0.57, allocations: 1.568 MB / 0.7063 GB, free: 13.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.57, allocations: 0 / 0.7063 GB, free: 13.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.11e-07/0.57, allocations: 0 / 0.7063 GB, free: 13.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.5701, allocations: 4 kB / 0.7063 GB, free: 13.76 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00222/0.5723, allocations: 1.445 MB / 0.7077 GB, free: 12.28 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.5723, allocations: 8.031 kB / 0.7077 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007764/0.5731, allocations: 187 kB / 0.7079 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.5745, allocations: 0.7979 MB / 0.7086 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/0.5746, allocations: 37.31 kB / 0.7087 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-05/0.5746, allocations: 52 kB / 0.7087 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.5757, allocations: 0.6276 MB / 0.7093 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.5758, allocations: 4 kB / 0.7093 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.501e-05/0.5758, allocations: 27.94 kB / 0.7094 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.5758, allocations: 12 kB / 0.7094 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008434/0.5767, allocations: 0.4931 MB / 0.7099 GB, free: 9.984 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.004377/0.5811, allocations: 2.319 MB / 0.7121 GB, free: 7.559 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.5814, allocations: 198.5 kB / 0.7123 GB, free: 7.355 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.5816, allocations: 73.17 kB / 0.7124 GB, free: 7.281 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002509/0.5818, allocations: 39.98 kB / 0.7124 GB, free: 7.242 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.5819, allocations: 38.56 kB / 0.7125 GB, free: 7.195 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.5819, allocations: 0 / 0.7125 GB, free: 7.195 MB / 0.545 GB Notification: Performance of matching and sorting (n=20): time 0.0007794/0.5826, allocations: 360.7 kB / 0.7128 GB, free: 6.836 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.5827, allocations: 59.39 kB / 0.7129 GB, free: 6.766 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00244/0.5851, allocations: 1.874 MB / 0.7147 GB, free: 4.871 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.5852, allocations: 33.7 kB / 0.7147 GB, free: 4.832 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005394/0.5857, allocations: 0.5758 MB / 0.7153 GB, free: 4.254 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.669e-05/0.5858, allocations: 71.38 kB / 0.7153 GB, free: 4.184 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.5859, allocations: 82.02 kB / 0.7154 GB, free: 4.098 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.5861, allocations: 329.9 kB / 0.7157 GB, free: 3.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.5863, allocations: 134.6 kB / 0.7159 GB, free: 3.633 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.5867, allocations: 238.5 kB / 0.7161 GB, free: 3.355 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/0.5872, allocations: 341.5 kB / 0.7164 GB, free: 2.973 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5872, allocations: 0 / 0.7164 GB, free: 2.973 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008869/0.5881, allocations: 0.5004 MB / 0.7169 GB, free: 2.465 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.5881, allocations: 11.94 kB / 0.7169 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.5881, allocations: 4.438 kB / 0.7169 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.5882, allocations: 8.047 kB / 0.7169 GB, free: 2.441 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006213/0.5888, allocations: 131.8 kB / 0.7171 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.59, allocations: 1.791 MB / 0.7188 GB, free: 468 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.5905, allocations: 75.39 kB / 0.7189 GB, free: 392 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/0.5905, allocations: 23.98 kB / 0.7189 GB, free: 368 kB / 0.545 GB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006392/0.5911, allocations: 373.6 kB / 0.7193 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/0.5914, allocations: 127.2 kB / 0.7194 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006478/0.592, allocations: 341 kB / 0.7197 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.592, allocations: 0 / 0.7197 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.592, allocations: 0 / 0.7197 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.592, allocations: 3.984 kB / 0.7197 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009982/0.593, allocations: 0.6744 MB / 0.7204 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.5931, allocations: 3.984 kB / 0.7204 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003793/0.5934, allocations: 75.89 kB / 0.7204 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.5934, allocations: 0 / 0.7204 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.5935, allocations: 0 / 0.7204 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.5946, allocations: 1.79 MB / 0.7222 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.5946, allocations: 0 / 0.7222 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007126/0.5953, allocations: 0.4902 MB / 0.7227 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003493/0.5957, allocations: 163.2 kB / 0.7228 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.5958, allocations: 11.31 kB / 0.7228 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004587/0.5963, allocations: 15.98 kB / 0.7229 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.5963, allocations: 15.91 kB / 0.7229 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/0.5964, allocations: 19.98 kB / 0.7229 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001788/0.5981, allocations: 1.346 MB / 0.7242 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5981, allocations: 4.062 kB / 0.7242 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007688/0.5989, allocations: 243.5 kB / 0.7244 GB, free: 10.54 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001785/0.6007, allocations: 0.4917 MB / 0.7249 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007946/0.6015, allocations: 272.7 kB / 0.7252 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6015, allocations: 0 / 0.7252 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003097/0.6018, allocations: 116.9 kB / 0.7253 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.6034, allocations: 392.1 kB / 0.7257 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.6065, allocations: 2.07 MB / 0.7277 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008578/0.6074, allocations: 1.114 MB / 0.7288 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006513/0.608, allocations: 220.5 kB / 0.729 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.6082, allocations: 79.42 kB / 0.7291 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/0.6082, allocations: 4 kB / 0.7291 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of Templates: time 0.03353/0.6418, allocations: 18.42 MB / 0.7471 GB, free: 3.281 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.959244375117123] Failed to read output from testmodel.py, exit status != 0: 0.6505142701789737 0.665416435 0.092085993 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fa9381017b0>