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.001735/0.001735, allocations: 78.17 kB / 21.27 MB, free: 0.5352 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.001973/0.001973, allocations: 162.2 kB / 24.54 MB, free: 3.836 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.525/1.525, allocations: 177.2 MB / 204.9 MB, free: 9.293 MB / 190.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.1595/0.1595, allocations: 19.71 MB / 281 MB, free: 13.07 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.002175/0.002175, allocations: 75.83 kB / 417.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3716, allocations: 60.44 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.2178/0.5893, allocations: 146.8 MB / 0.6102 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006303/0.5956, allocations: 3.478 MB / 0.6136 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005627/0.5962, allocations: 7.938 kB / 0.6136 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009901/0.5972, allocations: 266.3 kB / 0.6139 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.5987, allocations: 0.6339 MB / 0.6145 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004708/0.6034, allocations: 1.623 MB / 0.6161 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002305/0.6057, allocations: 1.337 MB / 0.6174 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005995/0.6063, allocations: 369.7 kB / 0.6177 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.6074, allocations: 0.7206 MB / 0.6184 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007364/0.6081, allocations: 0.5411 MB / 0.619 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.806e-05/0.6082, allocations: 56 kB / 0.619 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00303/0.6112, allocations: 1.181 MB / 0.6202 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000681/0.6119, allocations: 474.6 kB / 0.6206 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000794/0.6127, allocations: 449.5 kB / 0.6211 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003255/0.616, allocations: 1.904 MB / 0.6229 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.616, allocations: 0 / 0.6229 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.934e-06/0.616, allocations: 0 / 0.6229 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.793e-05/0.616, allocations: 0 / 0.6229 GB, free: 1.938 MB / 0.5137 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.002718/0.6187, allocations: 1.515 MB / 0.6244 GB, free: 396 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.6188, allocations: 8.031 kB / 0.6244 GB, free: 388 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008267/0.6196, allocations: 203 kB / 0.6246 GB, free: 184 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.621, allocations: 0.7984 MB / 0.6254 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.621, allocations: 37.31 kB / 0.6254 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-05/0.6211, allocations: 48 kB / 0.6255 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.6226, allocations: 1.054 MB / 0.6265 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.6226, allocations: 3.984 kB / 0.6265 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.97e-05/0.6227, allocations: 24 kB / 0.6265 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.6227, allocations: 12 kB / 0.6265 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008832/0.6236, allocations: 469 kB / 0.627 GB, free: 13.59 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.00434/0.6279, allocations: 1.846 MB / 0.6288 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.6282, allocations: 122.6 kB / 0.6289 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.793e-05/0.6283, allocations: 48.84 kB / 0.6289 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002531/0.6285, allocations: 55.89 kB / 0.629 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.6286, allocations: 38.56 kB / 0.629 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.933e-06/0.6286, allocations: 0 / 0.629 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0007247/0.6293, allocations: 271.9 kB / 0.6293 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.6294, allocations: 59.34 kB / 0.6293 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003258/0.6326, allocations: 1.702 MB / 0.631 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.903e-05/0.6327, allocations: 33.7 kB / 0.631 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007906/0.6335, allocations: 0.6018 MB / 0.6316 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.069e-05/0.6336, allocations: 51.56 kB / 0.6317 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.6337, allocations: 89.56 kB / 0.6318 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.6339, allocations: 322 kB / 0.6321 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.6342, allocations: 130.1 kB / 0.6322 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/0.6345, allocations: 247.2 kB / 0.6324 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005128/0.635, allocations: 333.7 kB / 0.6327 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.635, allocations: 4 kB / 0.6327 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001048/0.6361, allocations: 495.8 kB / 0.6332 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.6361, allocations: 8 kB / 0.6332 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.6361, allocations: 4.562 kB / 0.6332 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.139e-05/0.6361, allocations: 15.94 kB / 0.6332 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006643/0.6368, allocations: 103.9 kB / 0.6333 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.6378, allocations: 1.191 MB / 0.6345 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005362/0.6384, allocations: 55.59 kB / 0.6346 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.387e-05/0.6384, allocations: 27.98 kB / 0.6346 GB, free: 5.477 MB / 0.5294 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.0006741/0.6391, allocations: 365.6 kB / 0.6349 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002655/0.6394, allocations: 115.5 kB / 0.6351 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005701/0.6399, allocations: 267.3 kB / 0.6353 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.64, allocations: 0 / 0.6353 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.64, allocations: 0 / 0.6353 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.64, allocations: 3.938 kB / 0.6353 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.641, allocations: 0.527 MB / 0.6358 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.641, allocations: 0 / 0.6358 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.6413, allocations: 55.89 kB / 0.6359 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.6413, allocations: 0 / 0.6359 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.6413, allocations: 4 kB / 0.6359 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000922/0.6422, allocations: 1.199 MB / 0.6371 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.6422, allocations: 0 / 0.6371 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006454/0.6429, allocations: 398.9 kB / 0.6374 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003292/0.6432, allocations: 131.3 kB / 0.6376 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.6433, allocations: 7.984 kB / 0.6376 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.6437, allocations: 15.98 kB / 0.6376 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.6438, allocations: 11.92 kB / 0.6376 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-05/0.6438, allocations: 15.98 kB / 0.6376 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001857/0.6457, allocations: 1.213 MB / 0.6388 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6457, allocations: 0 / 0.6388 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001023/0.6467, allocations: 259.3 kB / 0.639 GB, free: 0.8086 MB / 0.5294 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.002174/0.6489, allocations: 0.5499 MB / 0.6396 GB, free: 412 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007614/0.6496, allocations: 236.6 kB / 0.6398 GB, free: 176 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.6496, allocations: 4 kB / 0.6398 GB, free: 172 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.6499, allocations: 72.03 kB / 0.6399 GB, free: 100 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2486/0.8984, allocations: 195.6 kB / 0.6401 GB, free: 170 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003687/0.9021, allocations: 1.981 MB / 0.642 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.9026, allocations: 0.5125 MB / 0.6425 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005093/0.9031, allocations: 191 kB / 0.6427 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.9033, allocations: 65.55 kB / 0.6427 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.232e-06/0.9033, allocations: 0 / 0.6427 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.02141/0.9247, allocations: 13.4 MB / 0.6558 GB, free: 159.9 MB / 0.5294 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 -s cvode -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.212948563974351] Failed to read output from testmodel.py, exit status != 0: 0.9335197729524225 0.942431765 0.32399721200000003 Calling exit ...