Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) 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.TestTurboJetConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestTurboJetConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 106.1 kB / 17.74 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 190.5 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2649/0.2649, allocations: 48.85 MB / 320.8 MB, free: 11.02 MB / 270.1 MB 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.00154/0.00154, allocations: 75.89 kB / 451.2 MB, free: 8.57 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1159, allocations: 59.15 MB / 0.4984 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestTurboJetConstSpeed): time 0.4582/0.5742, allocations: 223.8 MB / 0.7169 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01168/0.5859, allocations: 8.004 MB / 0.7248 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.587, allocations: 19.88 kB / 0.7248 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.5888, allocations: 0.7183 MB / 0.7255 GB, free: 1.523 MB / 0.5606 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.002474/0.5914, allocations: 1.318 MB / 0.7268 GB, free: 204 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01005/0.6014, allocations: 3.502 MB / 0.7302 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004654/0.6061, allocations: 3.841 MB / 0.7339 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002115/0.6082, allocations: 1.423 MB / 0.7353 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002694/0.6109, allocations: 1.569 MB / 0.7369 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/0.6128, allocations: 1.374 MB / 0.7382 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004069/0.6132, allocations: 188 kB / 0.7384 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006095/0.6193, allocations: 3.079 MB / 0.7414 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001179/0.6205, allocations: 1.372 MB / 0.7427 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002002/0.6226, allocations: 1.575 MB / 0.7443 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008236/0.6308, allocations: 5.209 MB / 0.7494 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6308, allocations: 0 / 0.7494 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6308, allocations: 8 kB / 0.7494 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.334e-05/0.6309, allocations: 0 / 0.7494 GB, free: 9.004 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.005407/0.6363, allocations: 3.337 MB / 0.7526 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.6364, allocations: 15.89 kB / 0.7526 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002012/0.6384, allocations: 0.5117 MB / 0.7531 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00265/0.6411, allocations: 1.668 MB / 0.7548 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.739e-05/0.6412, allocations: 135.5 kB / 0.7549 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002531/0.6414, allocations: 183.9 kB / 0.7551 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003897/0.6453, allocations: 2.449 MB / 0.7575 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.954e-05/0.6454, allocations: 11.92 kB / 0.7575 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002129/0.6456, allocations: 84 kB / 0.7576 GB, free: 436 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.884e-05/0.6457, allocations: 63.53 kB / 0.7576 GB, free: 372 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2369/0.8826, allocations: 1.959 MB / 0.7595 GB, free: 217.5 MB / 0.5919 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.01645/0.8991, allocations: 10.42 MB / 0.7697 GB, free: 211.4 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.9006, allocations: 0.8594 MB / 0.7705 GB, free: 211 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009512/0.9016, allocations: 0.6071 MB / 0.7711 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007111/0.9023, allocations: 318.2 kB / 0.7714 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.9024, allocations: 61.38 kB / 0.7715 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=94): time 4.318e-06/0.9024, allocations: 0 / 0.7715 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=105): time 0.01506/0.9175, allocations: 5.568 MB / 0.7769 GB, free: 208 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.9176, allocations: 166.7 kB / 0.7771 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005362/0.9229, allocations: 3.41 MB / 0.7804 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003967/0.9233, allocations: 58.3 kB / 0.7805 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008601/0.9242, allocations: 1.219 MB / 0.7817 GB, free: 205.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003445/0.9246, allocations: 382.4 kB / 0.782 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004667/0.925, allocations: 264.6 kB / 0.7823 GB, free: 205.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.9251, allocations: 354.4 kB / 0.7826 GB, free: 205 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.9262, allocations: 0.7258 MB / 0.7833 GB, free: 204.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.9274, allocations: 0.9689 MB / 0.7843 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002108/0.9295, allocations: 1.604 MB / 0.7859 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.9295, allocations: 2.719 kB / 0.7859 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.004759/0.9343, allocations: 2.443 MB / 0.7882 GB, free: 202.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.9343, allocations: 8.062 kB / 0.7882 GB, free: 202.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.9343, allocations: 7.938 kB / 0.7883 GB, free: 202.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005201/0.9395, allocations: 1.347 MB / 0.7896 GB, free: 202 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009816/0.9405, allocations: 205.1 kB / 0.7898 GB, free: 202 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003069/0.9436, allocations: 2.62 MB / 0.7923 GB, free: 200.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.9452, allocations: 54.06 kB / 0.7924 GB, free: 200.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/0.9454, allocations: 79.81 kB / 0.7925 GB, free: 200.1 MB / 0.5919 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001884/0.9473, allocations: 1.32 MB / 0.7937 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009931/0.9483, allocations: 0.9667 MB / 0.7947 GB, free: 198.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001825/0.9501, allocations: 1.578 MB / 0.7962 GB, free: 197.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.035e-06/0.9502, allocations: 5.094 kB / 0.7962 GB, free: 197.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=168) (initialization_lambda0): time 0.003786/0.9539, allocations: 2.314 MB / 0.7985 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.954, allocations: 13.84 kB / 0.7985 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.954, allocations: 11.69 kB / 0.7985 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002846/0.9569, allocations: 0.9068 MB / 0.7994 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.9579, allocations: 252.5 kB / 0.7996 GB, free: 196 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.9603, allocations: 3.372 MB / 0.8029 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.9619, allocations: 52.34 kB / 0.803 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.962, allocations: 75.86 kB / 0.8031 GB, free: 193.1 MB / 0.5919 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: 36 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(14,44)} Notification: Performance of prepare postOptimizeDAE: time 0.0005426/0.9626, allocations: 265.1 kB / 0.8033 GB, free: 192.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004156/0.963, allocations: 267.1 kB / 0.8036 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003106/0.9661, allocations: 1.972 MB / 0.8055 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.9661, allocations: 7.969 kB / 0.8055 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.9661, allocations: 7.938 kB / 0.8055 GB, free: 191.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000535/0.9667, allocations: 385.9 kB / 0.8059 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002958/0.967, allocations: 32 kB / 0.8059 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/0.9685, allocations: 84.05 kB / 0.806 GB, free: 191 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.9687, allocations: 80.88 kB / 0.8061 GB, free: 191 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00389/0.9726, allocations: 1.904 MB / 0.8079 GB, free: 189.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002712/0.9753, allocations: 2.319 MB / 0.8102 GB, free: 186.7 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007327/0.976, allocations: 0.6179 MB / 0.8108 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002451/0.9785, allocations: 2.4 MB / 0.8131 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of Backend: time 2.9e-07/0.9785, allocations: 0 / 0.8131 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008834/0.9873, allocations: 3.984 MB / 0.817 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of SimCode: time 0.008302/0.9957, allocations: 6.311 MB / 0.8232 GB, free: 173.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.08108/1.077, allocations: 71.74 MB / 0.8932 GB, free: 101.8 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.pipe 2>&1)